Skip to content

Commit 3952b73

Browse files
author
Itai Ferber
committed
Update benchmark names
1 parent beb326e commit 3952b73

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

benchmark/single-source/DataBenchmarks.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ public let DataBenchmarks = [
4040
0, 1, 2, 3, 4, 5, 6,
4141
])) } }, tags: d, legacyFactor: 20),
4242

43-
BenchmarkInfo(name: "DataCreateSequenceExactCount", runFunction: {
43+
BenchmarkInfo(name: "Data.init.Sequence.ExactCount", runFunction: {
4444
for _ in 0..<$0*500 {
4545
blackHole(Data(repeatElement(UInt8(0xA0), count: 809)))
4646
} }, tags: d),
47-
BenchmarkInfo(name: "DataCreateSequenceUnderestimatedCount", runFunction: {
47+
BenchmarkInfo(name: "Data.init.Sequence.UnderestimatedCount", runFunction: {
4848
for _ in 0..<$0*500 { blackHole(Data(repeatElementSeq(809))) } }, tags: d),
4949

5050
BenchmarkInfo(name: "DataSubscriptSmall",
@@ -117,10 +117,10 @@ public let DataBenchmarks = [
117117
replaceBuffer($0*10, data: medium, subrange:431..<809, with: large) },
118118
tags: d),
119119

120-
BenchmarkInfo(name: "DataAppendSequenceExactCount",
120+
BenchmarkInfo(name: "DataAppendSequence",
121121
runFunction: { append($0*100, sequenceLength: 809, to: medium) },
122122
tags: d, legacyFactor: 100),
123-
BenchmarkInfo(name: "DataAppendSequenceUnderestimatedCount", runFunction: {
123+
BenchmarkInfo(name: "Data.append.Sequence.UnderestimatedCount", runFunction: {
124124
append($0*100, sequence: repeatElementSeq(809), to: medium) },
125125
tags: d, legacyFactor: 100),
126126

@@ -172,11 +172,11 @@ public let DataBenchmarks = [
172172
runFunction: { data($0*200, from: mediumString) }, tags: d,
173173
legacyFactor: 50),
174174

175-
BenchmarkInfo(name: "DataHashEmpty",
175+
BenchmarkInfo(name: "Data.hash.Empty",
176176
runFunction: { hash($0*10_000, data: Data()) }, tags: d),
177-
BenchmarkInfo(name: "DataHashSmall",
177+
BenchmarkInfo(name: "Data.hash.Small",
178178
runFunction: { hash($0*10_000, data: small) }, tags: d),
179-
BenchmarkInfo(name: "DataHashMedium",
179+
BenchmarkInfo(name: "Data.hash.Medium",
180180
runFunction: { hash($0*10_000, data: medium) }, tags: d),
181181
]
182182

0 commit comments

Comments
 (0)