Skip to content

Commit 114d392

Browse files
committed
[benchmark] StringDistance: Increase ASCII workload by an additional 10x
1 parent 4565485 commit 114d392

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benchmark/single-source/StringDistance.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ let mixedRanges = (
101101
+ generateRanges(for: mixedString, by: 256)
102102
+ generateRanges(for: mixedString, by: 512))
103103

104-
let asciiString = #"""
104+
let _asciiString = #"""
105105
Swift is a high-performance system programming language. It has a clean
106106
and modern syntax, offers seamless access to existing C and Objective-C code
107107
and frameworks, and is memory safe by default.
@@ -130,6 +130,7 @@ let asciiString = #"""
130130
directory you run the script with a filename of the form:
131131
``swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz``.
132132
"""#
133+
let asciiString = String(repeating: _asciiString, count: 10)
133134

134135
let asciiRanges = (
135136
generateRanges(for: asciiString, by: 1)

0 commit comments

Comments
 (0)