Skip to content

Commit f7a310a

Browse files
authored
Merge pull request #13188 from eeckstein/rename-bench
2 parents ceefc59 + a940cde commit f7a310a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

benchmark/single-source/StringTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ import TestsUtils
1313

1414
public let StringTests = [
1515
BenchmarkInfo(name: "StringEqualPointerComparison", runFunction: run_StringEqualPointerComparison, tags: [.validation, .api, .String]),
16-
BenchmarkInfo(name: "StringHasPrefix", runFunction: run_StringHasPrefix, tags: [.validation, .api, .String]),
16+
BenchmarkInfo(name: "StringHasPrefixAscii", runFunction: run_StringHasPrefixAscii, tags: [.validation, .api, .String]),
1717
BenchmarkInfo(name: "StringHasPrefixUnicode", runFunction: run_StringHasPrefixUnicode, tags: [.validation, .api, .String]),
18-
BenchmarkInfo(name: "StringHasSuffix", runFunction: run_StringHasSuffix, tags: [.validation, .api, .String]),
18+
BenchmarkInfo(name: "StringHasSuffixAscii", runFunction: run_StringHasSuffixAscii, tags: [.validation, .api, .String]),
1919
BenchmarkInfo(name: "StringHasSuffixUnicode", runFunction: run_StringHasSuffixUnicode, tags: [.validation, .api, .String]),
2020
]
2121

2222
// FIXME(string)
23-
public func run_StringHasPrefix(_ N: Int) {
23+
public func run_StringHasPrefixAscii(_ N: Int) {
2424
#if _runtime(_ObjC)
2525
let prefix = "prefix"
2626
let testString = "prefixedString"
@@ -33,7 +33,7 @@ public func run_StringHasPrefix(_ N: Int) {
3333
}
3434

3535
// FIXME(string)
36-
public func run_StringHasSuffix(_ N: Int) {
36+
public func run_StringHasSuffixAscii(_ N: Int) {
3737
#if _runtime(_ObjC)
3838
let suffix = "Suffixed"
3939
let testString = "StringSuffixed"

0 commit comments

Comments
 (0)