Karoy Lorentey
758c52bc2a
[benchmark] Don't create array instance in modules with solitary benchmarks
...
It just produces unnecessary code sign churn.
2021-09-16 18:54:14 -07:00
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
3ff92efdac
[benchmark] Extract setup from IterateData
...
IterateData has setup overhead of 480 μs (10%).
There remained strange setup overhead after extracting the data into setUpFunction, because of of-by-one error in the main loop. It should be either: `for _ 1…10*N` or: `for _ 0..<10*N`. It’s error to use 0…m*N, because this will result in `m*N + 1` iterations that will be divided by N in the reported measurement. The extra iteration then manifests as a mysterious setup overhead!
2018-10-23 22:49:25 +02:00
Tony Parker
19c6ccf5af
Updated Data benchmarks
2018-03-13 17:29:50 -07:00
Ben Cohen
3b4eacc3a8
Update benchmarks to Swift 4 ( #14623 )
2018-02-14 17:26:58 -08:00
Max Moiseev
1dd9d61ded
Move all benchmarks to use registerBenchmark and BenchmarkInfo
2017-10-03 18:04:56 -07: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
Erik Eckstein
304095fd7d
benchmarks: Don't crash on overflow in IterateData
2016-08-01 13:50:02 -07:00
Kevin Ballard
01c0a7f44a
Rename the Data benchmark file to IterateData
...
This matches the actual name of the benchmark.
2016-07-29 13:10:39 -07:00