Commit Graph

8 Commits

Author SHA1 Message Date
Pavol Vaskovic
a9cbe2bf87 [benchmark] String.replaceSubrange: multiplier fix
+[Gardening] minor formatting (80 chars)
2019-08-02 22:55:50 +02:00
Keita Ito
b76169c6e0 Update the PR by addressing feedback
- Re-name benchmark names
- Remove setupLargeManagedString()
- Remove unnecessary optimization barrier functions
- Update benchmark argument string by using smallString and largeString
- Remove unnecessary optimization barrier function calls
- Update replaceSubrange(_:_:with) to be generic function
2019-07-28 11:24:40 -07:00
Keita Ito
b82f6c5f77 Remove benchmarks with largeLiteral
Per Michael's feedback (https://github.com/apple/swift/pull/25310#pullrequestreview-248466570), largeLiteral is likely redundant with largeManaged.
2019-07-01 23:18:03 -07:00
Keita Ito
4c0ea56e1b Add benchmarks for String.replaceSubrange(_:with:) with Repeated<Character> 2019-06-30 13:27:46 -07:00
Keita Ito
0de61f0e3d Add benchmarks for String.replaceSubrange(_:with:) with Array<Character> arguments 2019-06-30 12:15:43 -07:00
Keita Ito
082285f84e Reuse replaceSubrange(_:_:with:) function for benchmarks 2019-06-11 23:33:46 -07:00
Keita Ito
4d86f3fcf7 Rename benchmarks based on the benchmark naming convention
Reference: https://github.com/apple/swift/blob/master/benchmark/Naming.md
2019-06-11 01:37:39 -07:00
Keita Ito
459861b1d4 Rename ReplaceSubrange to StringReplaceSubrange 2019-06-11 00:03:21 -07:00