Skip to content

Commit ecf1e4e

Browse files
authored
Merge pull request swiftlang#30822 from PatrickPijnappel/premultiply-case-conversion-benchmark
[benchmark] Premultiply N for case conversion benchmark
2 parents 91a425e + 6196a8a commit ecf1e4e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

benchmark/single-source/AngryPhonebook.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public let AngryPhonebook = [
2525

2626
// Small String Workloads
2727
BenchmarkInfo(
28-
name: "AngryPhonebook.ASCII.Small",
29-
runFunction: { angryPhonebook($0, ascii) },
28+
name: "AngryPhonebook.ASCII2.Small",
29+
runFunction: { angryPhonebook($0*10, ascii) },
3030
tags: t,
3131
setUpFunction: { blackHole(ascii) }),
3232
BenchmarkInfo(
@@ -47,8 +47,8 @@ public let AngryPhonebook = [
4747

4848
// Regular String Workloads
4949
BenchmarkInfo(
50-
name: "AngryPhonebook.ASCII",
51-
runFunction: { angryPhonebook($0, precomposed: longASCII) },
50+
name: "AngryPhonebook.ASCII2",
51+
runFunction: { angryPhonebook($0*10, precomposed: longASCII) },
5252
tags: t,
5353
setUpFunction: { blackHole(longASCII) }),
5454
BenchmarkInfo(

0 commit comments

Comments
 (0)