File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,23 +30,23 @@ public let benchmarks = [
30
30
@inline ( never)
31
31
public func run_singleAsciiCharacterCount100( N: Int ) {
32
32
let string = " x "
33
- for _ in 1 ... 5000 * N {
33
+ for _ in 1 ... 200 * N {
34
34
blackHole ( String ( repeating: getString ( string) , count: 100 ) )
35
35
}
36
36
}
37
37
38
38
@inline ( never)
39
39
public func run_26AsciiCharactersCount2( N: Int ) {
40
40
let string = " abcdefghijklmnopqrstuvwxyz "
41
- for _ in 1 ... 5000 * N {
41
+ for _ in 1 ... 200 * N {
42
42
blackHole ( String ( repeating: getString ( string) , count: 2 ) )
43
43
}
44
44
}
45
45
46
46
@inline ( never)
47
47
public func run_33CyrillicCharactersCount2( N: Int ) {
48
48
let string = " абвгґдеєжзиіїйклмнопрстуфхцчшщьюя "
49
- for _ in 1 ... 5000 * N {
49
+ for _ in 1 ... 200 * N {
50
50
blackHole ( String ( repeating: getString ( string) , count: 2 ) )
51
51
}
52
52
}
@@ -70,7 +70,7 @@ public func run_longMixedStringCount100(N: Int) {
70
70
著作権が切れた小説などが利用されることもある。
71
71
🦩
72
72
"""
73
- for _ in 1 ... 5000 * N {
73
+ for _ in 1 ... 200 * N {
74
74
blackHole ( String ( repeating: getString ( string) , count: 100 ) )
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments