Commit Graph

16 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
Pavol Vaskovic
7c8beb7b70 [benchmark] StringBuilder Legacy Factor 2018-12-18 20:43:07 +01:00
Michael Ilseman
440c5b34ba [benchmark] Add reserveCapacity String benchmark to builder.
Add StringBuilderSmallReservingCapacity variant to measure the excess
overhead caused by calls to reserve capacity. If a string is small,
and the capacity is small, this will demonstrate overhead if an
allocation happens.
2018-05-18 19:25:30 -07:00
Michael Ilseman
0a301aa2ba [benchmark] More StringBuilder and improvements 2018-03-05 14:25:41 -08:00
Huon Wilson
2130ba9808 Revert "[benchmark] Add interpolation; more stable builder" 2018-03-01 19:05:10 -08:00
Michael Ilseman
46ab97a0d5 [benchmark] Attempt to make StringBuilder more stable.
Use getString and blackHole more.
2018-02-28 17:45:23 -08:00
Michael Ilseman
30494378ec [benchmarks] Add String.reserveCapacity benchmark
Patch originally from @lorentey.
2018-01-08 14:39:05 +00:00
Max Moiseev
1dd9d61ded Move all benchmarks to use registerBenchmark and BenchmarkInfo 2017-10-03 18:04:56 -07:00
Erik Eckstein
2c0b69d241 benchmarks: Make sure there is no constant propagation in the StringBuilder benchmarks.
This fixes the StringAdder benchmark, where the string addition was completely constant folded.
It has only minimal effect on the other benchmarks in this file, because the optimizer didn't constant fold the strings there anyway.
2017-06-21 17:21:51 -07:00
Ben Cohen
f02f31c2df Add more string benchmarks 2017-03-10 17:20:04 -08:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Trent Nadeau
0cc851568a Updated tests to use @discardableResult and _ = . 2016-05-11 22:53:38 -04:00
Manav Gabhawala
7928140f79 [SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary 2016-04-06 20:21:58 -04:00
Luke Larson
0356ec8ec3 Add Swift Benchmark Suite 2016-02-08 10:47:58 -08:00