Skip to content

Commit e57ba83

Browse files
author
Itai Ferber
committed
Reduce multipliers on Data.init.Sequence
1 parent 3952b73 commit e57ba83

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
@@ -41,11 +41,11 @@ public let DataBenchmarks = [
4141
])) } }, tags: d, legacyFactor: 20),
4242

4343
BenchmarkInfo(name: "Data.init.Sequence.ExactCount", runFunction: {
44-
for _ in 0..<$0*500 {
44+
for _ in 0..<$0*100 {
4545
blackHole(Data(repeatElement(UInt8(0xA0), count: 809)))
4646
} }, tags: d),
4747
BenchmarkInfo(name: "Data.init.Sequence.UnderestimatedCount", runFunction: {
48-
for _ in 0..<$0*500 { blackHole(Data(repeatElementSeq(809))) } }, tags: d),
48+
for _ in 0..<$0*100 { blackHole(Data(repeatElementSeq(809))) } }, tags: d),
4949

5050
BenchmarkInfo(name: "DataSubscriptSmall",
5151
runFunction: { let data = small

0 commit comments

Comments
 (0)