Skip to content

Commit 2fe31b3

Browse files
committed
[benchmark] CaptureProp Legacy Factor
1 parent 4db4587 commit 2fe31b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

benchmark/single-source/CaptureProp.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import TestsUtils
1515
public let CaptureProp = BenchmarkInfo(
1616
name: "CaptureProp",
1717
runFunction: run_CaptureProp,
18-
tags: [.validation, .api, .refcount])
18+
tags: [.validation, .api, .refcount],
19+
legacyFactor: 10)
1920

2021
func sum(_ x:Int, y:Int) -> Int {
2122
return x + y
@@ -33,7 +34,7 @@ func benchCaptureProp<S : Sequence
3334

3435
public func run_CaptureProp(_ N: Int) {
3536
let a = 1...10_000
36-
for _ in 1...100*N {
37+
for _ in 1...10*N {
3738
_ = benchCaptureProp(a, sum)
3839
}
3940
}

0 commit comments

Comments
 (0)