Commit Graph

11 Commits

Author SHA1 Message Date
Karoy Lorentey
8944591e71 [benchmark] Simplify benchmark registration 2021-09-15 22:08:08 -07:00
Karoy Lorentey
8910b75cfe [benchmark] Stop capitalizing function and variable names 2021-09-15 22:08:07 -07:00
Andrew Trick
c001de0359 Broaden the set of benchmarks tagged under .cpubench
These have all shown to be interesting, relevant, stable, and
optimized well enough by the compiler to be useful for cpu performance
tracking.
2020-05-18 23:43:07 -07:00
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