Skip to content

Commit fce674e

Browse files
[benchmark] Premultiply N for case conversion benchmark
1 parent 146c11e commit fce674e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/single-source/AngryPhonebook.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public let AngryPhonebook = [
2626
// Small String Workloads
2727
BenchmarkInfo(
2828
name: "AngryPhonebook.ASCII.Small",
29-
runFunction: { angryPhonebook($0, ascii) },
29+
runFunction: { angryPhonebook($0*10, ascii) },
3030
tags: t,
3131
setUpFunction: { blackHole(ascii) }),
3232
BenchmarkInfo(
@@ -48,7 +48,7 @@ public let AngryPhonebook = [
4848
// Regular String Workloads
4949
BenchmarkInfo(
5050
name: "AngryPhonebook.ASCII",
51-
runFunction: { angryPhonebook($0, precomposed: longASCII) },
51+
runFunction: { angryPhonebook($0*10, precomposed: longASCII) },
5252
tags: t,
5353
setUpFunction: { blackHole(longASCII) }),
5454
BenchmarkInfo(

0 commit comments

Comments
 (0)