Skip to content

Commit 784e7d3

Browse files
authored
Merge pull request #22266 from apple/Fix-DataCreateSmall
[benchmark] DataCreateSmall - Fix legacyFactor
2 parents 3c48f1c + e15aff3 commit 784e7d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/single-source/DataBenchmarks.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public let DataBenchmarks = [
2020
runFunction: { for _ in 0..<$0*10_000 { blackHole(Data()) } },
2121
tags: d, legacyFactor: 10),
2222
BenchmarkInfo(name: "DataCreateSmall",
23-
runFunction: { for _ in 0..<$0*100 { blackHole(sampleData(.small)) } },
24-
tags: d, legacyFactor: 1000),
23+
runFunction: { for _ in 0..<$0*10_000 { blackHole(sampleData(.small)) } },
24+
tags: d, legacyFactor: 10),
2525
BenchmarkInfo(name: "DataCreateMedium",
2626
runFunction: { for _ in 0..<$0*100 { blackHole(sampleData(.medium)) } },
2727
tags: d, legacyFactor: 100),

0 commit comments

Comments
 (0)