@@ -18,38 +18,38 @@ let tags: [BenchmarkCategory] = [.validation, .api, .IndexPath]
18
18
19
19
public let IndexPathTest = [
20
20
BenchmarkInfo (
21
- name: " IndexPathSubscriptMutation " ,
22
- runFunction: { n in run_IndexPathSubscriptMutation ( n * 1000 , size) } ,
21
+ name: " IndexPath.Subscript.Mutation " ,
22
+ runFunction: { n in run_IndexPathSubscriptMutation ( n * 60 , size) } ,
23
23
tags: tags) ,
24
24
BenchmarkInfo (
25
- name: " IndexPathSubscriptRangeMutation " ,
26
- runFunction: { n in run_IndexPathSubscriptRangeMutation ( n * 1000 , size) } ,
25
+ name: " IndexPath.Subscript.Range.Mutation " ,
26
+ runFunction: { n in run_IndexPathSubscriptRangeMutation ( n * 60 , size) } ,
27
27
tags: tags) ,
28
28
29
29
BenchmarkInfo (
30
- name: " IndexPathMaxBeginning " ,
31
- runFunction: { n in run_IndexPathMaxBeginning ( n * 1000 ) } ,
30
+ name: " IndexPath.Max.Beginning " ,
31
+ runFunction: { n in run_IndexPathMaxBeginning ( n * 60 ) } ,
32
32
tags: tags) ,
33
33
BenchmarkInfo (
34
- name: " IndexPathMaxMiddle " ,
35
- runFunction: { n in run_IndexPathMaxMiddle ( n * 1000 ) } ,
34
+ name: " IndexPath.Max.Middle " ,
35
+ runFunction: { n in run_IndexPathMaxMiddle ( n * 60 ) } ,
36
36
tags: tags) ,
37
37
BenchmarkInfo (
38
- name: " IndexPathMaxEnd " ,
39
- runFunction: { n in run_IndexPathMaxEnd ( n * 1000 ) } ,
38
+ name: " IndexPath.Max.End " ,
39
+ runFunction: { n in run_IndexPathMaxEnd ( n * 60 ) } ,
40
40
tags: tags) ,
41
41
42
42
BenchmarkInfo (
43
- name: " IndexPathMinBeginning " ,
44
- runFunction: { n in run_IndexPathMinBeginning ( n * 1000 ) } ,
43
+ name: " IndexPath.Min.Beginning " ,
44
+ runFunction: { n in run_IndexPathMinBeginning ( n * 60 ) } ,
45
45
tags: tags) ,
46
46
BenchmarkInfo (
47
- name: " IndexPathMinMiddle " ,
48
- runFunction: { n in run_IndexPathMinMiddle ( n * 1000 ) } ,
47
+ name: " IndexPath.Min.Middle " ,
48
+ runFunction: { n in run_IndexPathMinMiddle ( n * 60 ) } ,
49
49
tags: tags) ,
50
50
BenchmarkInfo (
51
- name: " IndexPathMinEnd " ,
52
- runFunction: { n in run_IndexPathMinEnd ( n * 1000 ) } ,
51
+ name: " IndexPath.Min.End " ,
52
+ runFunction: { n in run_IndexPathMinEnd ( n * 60 ) } ,
53
53
tags: tags) ,
54
54
]
55
55
@@ -95,7 +95,7 @@ public func run_IndexPathSubscriptMutation(_ n: Int, _ count: Int) {
95
95
@inline ( never)
96
96
public func run_IndexPathSubscriptRangeMutation( _ n: Int , _ count: Int ) {
97
97
subscriptMutation (
98
- n: count , mutations: count,
98
+ n: n , mutations: count,
99
99
mutate: { ip, i in
100
100
ip [ 0 ..< i] += [ i]
101
101
} )
0 commit comments