Skip to content

Commit f2147cb

Browse files
Increased number of interation for KeyPathDirectAccess by a factor of 25.
1 parent ea9984b commit f2147cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/single-source/KeyPathPerformanceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ public func run_KeyPathNestedStructs(n: Int) {
899899
public func run_testDirectAccess(n: Int) {
900900
arrayHolder.reset()
901901
var fixedSizeArray100 = FixedSizeArrayHolder.shared.fixedSizeArray100
902-
let iterationMultipier = 3000
902+
let iterationMultipier = 75000
903903
for t in 1 ... iterationMultipier * n {
904904
fixedSizeArray100.element50 += fixedSizeArray100.element1 + ElementType(t)
905905
fixedSizeArray100.element46 += fixedSizeArray100.element63 - fixedSizeArray100.element99

0 commit comments

Comments
 (0)