Skip to content

Commit 25729f8

Browse files
committed
[benchmark] SetTests Legacy Factor 4 Legacy Tests
1 parent b6a069c commit 25729f8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

benchmark/single-source/SetTests.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -296,29 +296,29 @@ public let SetTests = [
296296
// Legacy benchmarks, kept for continuity with previous releases.
297297
BenchmarkInfo(
298298
name: "SetExclusiveOr", // ~"SetSymmetricDifferenceInt0"
299-
runFunction: { n in run_SetSymmetricDifferenceInt(setAB, setCD, countABCD, 100 * n) },
299+
runFunction: { n in run_SetSymmetricDifferenceInt(setAB, setCD, countABCD, 10 * n) },
300300
tags: [.validation, .api, .Set],
301-
setUpFunction: { blackHole([setAB, setCD]) }),
301+
setUpFunction: { blackHole([setAB, setCD]) }, legacyFactor: 10),
302302
BenchmarkInfo(
303303
name: "SetExclusiveOr_OfObjects", // ~"SetSymmetricDifferenceBox0"
304-
runFunction: { n in run_SetSymmetricDifferenceBox(setOAB, setOCD, countABCD, 100 * n) },
304+
runFunction: { n in run_SetSymmetricDifferenceBox(setOAB, setOCD, countABCD, 10 * n) },
305305
tags: [.validation, .api, .Set],
306-
setUpFunction: { blackHole([setOAB, setOCD]) }),
306+
setUpFunction: { blackHole([setOAB, setOCD]) }, legacyFactor: 10),
307307
BenchmarkInfo(
308308
name: "SetIntersect", // ~"SetIntersectionInt0"
309-
runFunction: { n in run_SetIntersectionInt(setAB, setCD, 0, 100 * n) },
309+
runFunction: { n in run_SetIntersectionInt(setAB, setCD, 0, 10 * n) },
310310
tags: [.validation, .api, .Set],
311-
setUpFunction: { blackHole([setAB, setCD]) }),
311+
setUpFunction: { blackHole([setAB, setCD]) }, legacyFactor: 10),
312312
BenchmarkInfo(
313313
name: "SetUnion", // ~"SetUnionInt0"
314-
runFunction: { n in run_SetUnionInt(setAB, setCD, countABCD, 100 * n) },
314+
runFunction: { n in run_SetUnionInt(setAB, setCD, countABCD, 10 * n) },
315315
tags: [.validation, .api, .Set],
316-
setUpFunction: { blackHole([setAB, setCD]) }),
316+
setUpFunction: { blackHole([setAB, setCD]) }, legacyFactor: 10),
317317
BenchmarkInfo(
318318
name: "SetUnion_OfObjects", // ~"SetUnionBox0"
319-
runFunction: { n in run_SetUnionBox(setOAB, setOCD, countABCD, 100 * n) },
319+
runFunction: { n in run_SetUnionBox(setOAB, setOCD, countABCD, 10 * n) },
320320
tags: [.validation, .api, .Set],
321-
setUpFunction: { blackHole([setOAB, setOCD]) }),
321+
setUpFunction: { blackHole([setOAB, setOCD]) }, legacyFactor: 10),
322322
]
323323

324324
@inline(never)

0 commit comments

Comments
 (0)