Skip to content

Commit 3d58bc0

Browse files
Adjust UTF8Decode benchmark to run in <1s
Under Debug -Onone
1 parent 36ef7eb commit 3d58bc0

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...1000*N {
30+
for _ in 1...200*N {
3131
for string in strings {
3232
var generator = string.generate()
3333
var utf8 = UTF8()

0 commit comments

Comments
 (0)