@@ -58,7 +58,7 @@ let setQ: Set<Int> = {
58
58
public let SetTests = [
59
59
// Mnemonic: number after name is percentage of common elements in input sets.
60
60
BenchmarkInfo (
61
- name: " Set.Empty.IsSubsetInt0 " ,
61
+ name: " Set.isSubset. Empty.Int0 " ,
62
62
runFunction: { n in run_SetIsSubsetInt ( setE, setAB, true , 5000 * n) } ,
63
63
tags: [ . validation, . api, . Set] ,
64
64
setUpFunction: { blackHole ( [ setE, setAB] ) } ) ,
@@ -94,46 +94,46 @@ public let SetTests = [
94
94
setUpFunction: { blackHole ( [ setP, setQ] ) } ) ,
95
95
96
96
BenchmarkInfo (
97
- name: " Set.Empty.IsDisjointInt0 " ,
97
+ name: " Set.isDisjoint. Empty.Int0 " ,
98
98
runFunction: { n in run_SetIsDisjointInt ( setE, setAB, true , 50 * n) } ,
99
99
tags: [ . validation, . api, . Set] ,
100
100
setUpFunction: { blackHole ( [ setE, setAB] ) } ) ,
101
101
BenchmarkInfo (
102
- name: " Set.Empty.IsDisjointBox0 " ,
102
+ name: " Set.isDisjoint. Empty.Box0 " ,
103
103
runFunction: { n in run_SetIsDisjointBox ( setOE, setOAB, true , 50 * n) } ,
104
104
tags: [ . validation, . api, . Set] ,
105
105
setUpFunction: { blackHole ( [ setOE, setOAB] ) } ) ,
106
106
BenchmarkInfo (
107
- name: " SetIsDisjointInt0 " ,
107
+ name: " Set.isDisjoint.Int0 " ,
108
108
runFunction: { n in run_SetIsDisjointInt ( setAB, setCD, true , 50 * n) } ,
109
109
tags: [ . validation, . api, . Set] ,
110
110
setUpFunction: { blackHole ( [ setAB, setCD] ) } ) ,
111
111
BenchmarkInfo (
112
- name: " SetIsDisjointBox0 " ,
112
+ name: " Set.isDisjoint.Box0 " ,
113
113
runFunction: { n in run_SetIsDisjointBox ( setOAB, setOCD, true , 50 * n) } ,
114
114
tags: [ . validation, . api, . Set] ,
115
115
setUpFunction: { blackHole ( [ setOAB, setOCD] ) } ) ,
116
116
BenchmarkInfo (
117
- name: " SetIsDisjointInt25 " ,
117
+ name: " Set.isDisjoint.Int25 " ,
118
118
runFunction: { n in run_SetIsDisjointInt ( setB, setAB, false , 50 * n) } ,
119
119
tags: [ . validation, . api, . Set] ,
120
120
setUpFunction: { blackHole ( [ setB, setAB] ) } ) ,
121
121
BenchmarkInfo (
122
- name: " SetIsDisjointBox25 " ,
122
+ name: " Set.isDisjoint.Box25 " ,
123
123
runFunction: { n in run_SetIsDisjointBox ( setOB, setOAB, false , 50 * n) } ,
124
124
tags: [ . validation, . api, . Set] ,
125
125
setUpFunction: { blackHole ( [ setOB, setOAB] ) } ) ,
126
126
BenchmarkInfo (
127
- name: " SetIsDisjointInt50 " ,
127
+ name: " Set.isDisjoint.Int50 " ,
128
128
runFunction: { n in run_SetIsDisjointInt ( setY, setXY, false , 50 * n) } ,
129
129
tags: [ . validation, . api, . Set] ,
130
130
setUpFunction: { blackHole ( [ setY, setXY] ) } ) ,
131
131
BenchmarkInfo (
132
- name: " SetIsDisjointInt100 " ,
132
+ name: " Set.isDisjoint.Int100 " ,
133
133
runFunction: { n in run_SetIsDisjointInt ( setP, setQ, false , 50 * n) } ,
134
134
tags: [ . validation, . api, . Set] ,
135
135
setUpFunction: { blackHole ( [ setP, setQ] ) } ) ,
136
-
136
+
137
137
BenchmarkInfo (
138
138
name: " SetSymmetricDifferenceInt0 " ,
139
139
runFunction: { n in run_SetSymmetricDifferenceInt ( setAB, setCD, countABCD, 10 * n) } ,
@@ -228,12 +228,12 @@ public let SetTests = [
228
228
setUpFunction: { blackHole ( [ setP, setQ] ) } ) ,
229
229
230
230
BenchmarkInfo (
231
- name: " Set.Empty.SubtractingInt0 " ,
231
+ name: " Set.subtracting. Empty.Int0 " ,
232
232
runFunction: { n in run_SetSubtractingInt ( setE, setAB, 0 , 10 * n) } ,
233
233
tags: [ . validation, . api, . Set] ,
234
234
setUpFunction: { blackHole ( [ setE, setAB] ) } ) ,
235
235
BenchmarkInfo (
236
- name: " Set.Empty.SubtractingBox0 " ,
236
+ name: " Set.subtracting. Empty.Box0 " ,
237
237
runFunction: { n in run_SetSubtractingBox ( setOE, setOAB, 0 , 10 * n) } ,
238
238
tags: [ . validation, . api, . Set] ,
239
239
setUpFunction: { blackHole ( [ setOE, setOAB] ) } ) ,
0 commit comments