Skip to content

Commit 6dc0a11

Browse files
Minimize influence of setup time for UTF-8 decoding benchmark
1 parent 0b307a3 commit 6dc0a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/single-source/UTF8Decode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public func run_UTF8Decode(N: Int) {
2727

2828
let strings = [ ascii, russian, japanese, emoji ].map { Array($0.utf8) }
2929

30-
for _ in 1...N {
30+
for _ in 1...1000*N {
3131
for string in strings {
3232
var generator = string.generate()
3333
var utf8 = UTF8()

0 commit comments

Comments
 (0)