Skip to content

Commit b4f1f47

Browse files
authored
[benchmark] Remove 0s from Empty names.
1 parent 2c27149 commit b4f1f47

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
@@ -58,12 +58,12 @@ let setQ: Set<Int> = {
5858
public let SetTests = [
5959
// Mnemonic: number after name is percentage of common elements in input sets.
6060
BenchmarkInfo(
61-
name: "Set.isSubset.Empty.Int0",
61+
name: "Set.isSubset.Empty.Int",
6262
runFunction: { n in run_SetIsSubsetInt(setE, setAB, true, 5000 * n) },
6363
tags: [.validation, .api, .Set],
6464
setUpFunction: { blackHole([setE, setAB]) }),
6565
BenchmarkInfo(
66-
name: "Set.isSubset.Int0.Empty",
66+
name: "Set.isSubset.Int.Empty",
6767
runFunction: { n in run_SetIsSubsetInt(setAB, setE, false, 5000 * n) },
6868
tags: [.validation, .api, .Set],
6969
setUpFunction: { blackHole([setAB, setE]) }),
@@ -99,22 +99,22 @@ public let SetTests = [
9999
setUpFunction: { blackHole([setP, setQ]) }),
100100

101101
BenchmarkInfo(
102-
name: "Set.isDisjoint.Empty.Int0",
102+
name: "Set.isDisjoint.Empty.Int",
103103
runFunction: { n in run_SetIsDisjointInt(setE, setAB, true, 5000 * n) },
104104
tags: [.validation, .api, .Set],
105105
setUpFunction: { blackHole([setE, setAB]) }),
106106
BenchmarkInfo(
107-
name: "Set.isDisjoint.Int0.Empty",
107+
name: "Set.isDisjoint.Int.Empty",
108108
runFunction: { n in run_SetIsDisjointInt(setAB, setE, true, 5000 * n) },
109109
tags: [.validation, .api, .Set],
110110
setUpFunction: { blackHole([setAB, setE]) }),
111111
BenchmarkInfo(
112-
name: "Set.isDisjoint.Empty.Box0",
112+
name: "Set.isDisjoint.Empty.Box",
113113
runFunction: { n in run_SetIsDisjointBox(setOE, setOAB, true, 5000 * n) },
114114
tags: [.validation, .api, .Set],
115115
setUpFunction: { blackHole([setOE, setOAB]) }),
116116
BenchmarkInfo(
117-
name: "Set.isDisjoint.Box0.Empty",
117+
name: "Set.isDisjoint.Box.Empty",
118118
runFunction: { n in run_SetIsDisjointBox(setOAB, setOE, true, 5000 * n) },
119119
tags: [.validation, .api, .Set],
120120
setUpFunction: { blackHole([setOAB, setOE]) }),
@@ -243,22 +243,22 @@ public let SetTests = [
243243
setUpFunction: { blackHole([setP, setQ]) }),
244244

245245
BenchmarkInfo(
246-
name: "Set.subtracting.Empty.Int0",
246+
name: "Set.subtracting.Empty.Int",
247247
runFunction: { n in run_SetSubtractingInt(setE, setAB, 0, 1000 * n) },
248248
tags: [.validation, .api, .Set],
249249
setUpFunction: { blackHole([setE, setAB]) }),
250250
BenchmarkInfo(
251-
name: "Set.subtracting.Int0.Empty",
251+
name: "Set.subtracting.Int.Empty",
252252
runFunction: { n in run_SetSubtractingInt(setAB, setE, countAB, 1000 * n) },
253253
tags: [.validation, .api, .Set],
254254
setUpFunction: { blackHole([setAB, setE]) }),
255255
BenchmarkInfo(
256-
name: "Set.subtracting.Empty.Box0",
256+
name: "Set.subtracting.Empty.Box",
257257
runFunction: { n in run_SetSubtractingBox(setOE, setOAB, 0, 1000 * n) },
258258
tags: [.validation, .api, .Set],
259259
setUpFunction: { blackHole([setOE, setOAB]) }),
260260
BenchmarkInfo(
261-
name: "Set.subtracting.Box0.Empty",
261+
name: "Set.subtracting.Box.Empty",
262262
runFunction: { n in run_SetSubtractingBox(setOAB, setOE, countAB, 1000 * n) },
263263
tags: [.validation, .api, .Set],
264264
setUpFunction: { blackHole([setOAB, setOE]) }),

0 commit comments

Comments
 (0)