Skip to content

Commit 04eaf07

Browse files
author
Itai Ferber
committed
Re-add Data.append.Sequence.ExactCount
1 parent e3a8433 commit 04eaf07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

benchmark/single-source/DataBenchmarks.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,12 @@ public let DataBenchmarks = [
120120
BenchmarkInfo(name: "DataAppendSequence",
121121
runFunction: { append($0*100, sequenceLength: 809, to: medium) },
122122
tags: d, legacyFactor: 100),
123+
BenchmarkInfo(name: "Data.append.Sequence.ExactCount", runFunction: {
124+
append($0*100, sequence: repeatElement(UInt8(0xA0), count: 809),
125+
to: medium) }, tags: d),
123126
BenchmarkInfo(name: "Data.append.Sequence.UnderestimatedCount", runFunction: {
124127
append($0*100, sequence: repeatElementSeq(809), to: medium) },
125-
tags: d, legacyFactor: 100),
128+
tags: d),
126129

127130
BenchmarkInfo(name: "DataAppendDataSmallToSmall",
128131
runFunction: { append($0*500, data: small, to: small) }, tags: d,

0 commit comments

Comments
 (0)