Skip to content

Commit 4634230

Browse files
committed
[interop] cxx vector sum benchmark - reduce iterations to avoid long times for slow runs
1 parent 2a07c1c commit 4634230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/cxx-source/CxxVectorSum.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public let benchmarks = [
4848
// establish an expected threshold of performance, which when exceeded should
4949
// fail the benchmark.
5050

51-
let vectorSize = 100_000
52-
let iterRepeatFactor = 10
51+
let vectorSize = 25_000
52+
let iterRepeatFactor = 5
5353

5454
@inline(never)
5555
public func run_CxxVectorOfU32_Sum_Cxx_RangedForLoop(_ n: Int) {

0 commit comments

Comments
 (0)