Commit Graph

17 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
Karoy Lorentey
203dc55b60 [benchmark] CheckResults → check
Capitalizing function names is against Swift naming conventions.
2021-09-15 22:08:07 -07:00
David Smith
15b55bfe4b Rename and rescale benchmarks 2021-08-09 17:59:03 -07:00
David Smith
847047e867 Add benchmarks exercizing bridged rangeOfString more thoroughly in preparation for adding a native version 2021-08-09 16:18:28 -07:00
Pavol Vaskovic
ba25afb928 [benchmark] ObjectiveCBridgingStubs Legacy Factor 2019-02-11 18:03:30 +01:00
David Smith
8bb6b78e36 Use super trampolines to let us override several more NSString methods (-UTF8String, -cStringUsingEncoding:, and -getCString:maxLength:encoding:) for performance 2018-11-15 17:10:51 -08:00
David Smith
634e6bc584 Add benchmarks for various ObjC NSString operations on bridged Swift Strings 2018-11-06 13:43:24 -08:00
Erik Eckstein
729989473f benchmarks: fix the iteration count for some benchmarks
So that a single iteration is within ~2ms (and also not too short).
2018-07-31 10:59:33 -07:00
Erik Eckstein
868c5a1fb7 benchmarks: Marking some benchmarks as unstable
The noise for those benchmarks even cannot be removed by using a high sample count.
2018-07-31 10:59:33 -07:00
Erik Eckstein
9931b3c719 benchmarks: Mark some unstable benchmarks as unstable.
Which excludes them from the list of executed benchmarks.
2017-12-04 16:01:56 -08:00
Max Moiseev
1dd9d61ded Move all benchmarks to use registerBenchmark and BenchmarkInfo 2017-10-03 18:04:56 -07:00
Dave Abrahams
e32fb8badb Remove interpolated strings from benchmark CheckResults
This call was in many cases skewing the benchmark results.

Note: Intentionally staging this in without removing the old overload initially.
2017-05-05 10:25:02 -07:00
Arnold Schwaighofer
a8e3fc9af3 [benchmark] Lower the max memory size of ObejctiveC bridging tests by moving the
autoreleasepool down such that we have less allocations in the pool until it is
empty

rdar://31788785
SR-4666
2017-04-26 10:01:55 -07:00
Mikio Takeuchi
593155f78b Make benchmarks compile and run on Linux 2017-03-06 17:13:47 +09:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
Nate Cook
ef048083ce Move benchmarks out of unit-tests directory
'generate_harness.py' doesn’t look in subdirectories when
generating the test harness, so these tests were being
missed.
2017-01-04 22:24:37 -06:00