Commit Graph

905 Commits

Author SHA1 Message Date
Pavol Vaskovic
c087a02596 [benchmark] PointerArithmetics Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
4a4d9b10cb [benchmark] Phonebook Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
e99673e3e4 [benchmark] OpaqueConsumingUsers Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
e695dad4fe [benchmark] ObserverUnappliedMethod Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
30db01c416 [benchmark] ObserverPartiallyAppliedMethod LF 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
0206f96622 [benchmark] ObserverForwarderStruct Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
c345104a01 [benchmark] ObserverClosure Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
c9e889db28 [benchmark] NSDictionaryCastToSwift Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
bbe4734310 [benchmark] NopDeinit Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
5bb1d6cd72 [benchmark] NibbleSort Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
1e7357a632 [benchmark] MonteCarloPi Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
af3e9bd749 [benchmark] MonteCarloE Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
3ad6ee2c1c [benchmark] MapReduce Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
aca01c5268 [benchmark] LinkedList Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
cccb32bcb9 [benchmark] LazilyFiltered Legacy Factor
…and refactored setUp/tearDown
2019-01-22 09:26:05 +01:00
Pavol Vaskovic
f10ef5eb1a [benchmark] HashTest Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
9cf7f7e2a2 [benchmark] Hanoi Legacy Factor 2019-01-22 09:26:05 +01:00
Pavol Vaskovic
a72147662f [benchmark] ErrorHandling Legacy Factor 2019-01-21 21:33:14 +01:00
Michael Gottesman
9911d0a1da [benchmark] Add autoreleasepools to the Codable tests to prevent "leaks".
This was caught by the runtime leak checker.

rdar://47241432
2019-01-15 22:33:41 -08:00
Pavol Vaskovic
626878e0d4 [benchmark] Data.[init,append].Sequence.[809B,64kB] 2019-01-15 22:04:46 +01:00
Pavol Vaskovic
eadb2430e1 [benchmark] DictionarySubscriptDefault LF 2019-01-11 22:43:21 +01:00
Pavol Vaskovic
acb2c18a6c [benchmark] DictionarySwap Legacy Factor 2019-01-11 22:43:15 +01:00
Pavol Vaskovic
85c8bff82a [benchmark] DictionaryRemove Legacy Factor 2019-01-11 13:19:52 +01:00
Pavol Vaskovic
8d0544dc39 [benchmark] DictionaryCompatMapValues legacyFactor 2019-01-11 13:18:51 +01:00
Pavol Vaskovic
64d610b40b [benchmark] DictionaryLiteral Legacy Factor 2019-01-11 13:18:50 +01:00
Pavol Vaskovic
b3fea042ff [benchmark] Dictionary2(OfObjects) Legacy Factor 2019-01-11 13:18:48 +01:00
Pavol Vaskovic
9d033cd276 [benchmark] Dictionary(OfObjects) Legacy Factor 2019-01-11 13:18:46 +01:00
Pavol Vaskovic
6caff6a0d7 [benchmark] DeadArray Legacy Factor 2019-01-11 13:18:43 +01:00
Itai Ferber
1d10a6a155 Merge pull request #21766 from itaiferber/data-additional-benchmarks
Additional Data benchmarks
2019-01-10 13:59:25 -08:00
Itai Ferber
04eaf07f1d Re-add Data.append.Sequence.ExactCount 2019-01-10 12:38:21 -08:00
Pavol Vaskovic
e3a843374d Reduce Data.hash.Medium multiplier
Co-Authored-By: itaiferber <itai@itaiferber.net>
2019-01-10 12:19:39 -08:00
Itai Ferber
e57ba83f48 Reduce multipliers on Data.init.Sequence 2019-01-10 12:17:15 -08:00
Itai Ferber
3952b7359c Update benchmark names 2019-01-10 12:13:21 -08:00
Pavol Vaskovic
5cc751cad0 Merge pull request #21717 from palimondo/cells-interlinked
[benchmark] BenchmarkDoctor: Lower runtime bound + Set.Empty fixes
2019-01-10 21:11:26 +01:00
Itai Ferber
beb326e808 Data hashing benchmarks 2019-01-10 10:23:33 -08:00
Itai Ferber
a457b0d223 Data.init<S>/append<S> worst-case benchmarks 2019-01-10 10:23:11 -08:00
Pavol Vaskovic
b4f1f4747d [benchmark] Remove 0s from Empty names. 2019-01-10 18:04:10 +01:00
Pavol Vaskovic
a30b7749dd [benchmark] SuperChars: Further lower the workload 2019-01-10 12:34:46 +01:00
Michael Ilseman
779252ae13 [benchmark] Rework SuperChars
Rework SuperChars into something that:

* Doesn't crash in asserts configurations (i.e. has valid Characters)
* Actually runs (i.e. use blackHole on comparison result)
* Runs in around 1ms (it's cubic complexity in payload size)
2019-01-09 16:58:57 -08:00
Pavol Vaskovic
b4d8172228 [benchmark] Adjust loop multipliers Set.*
Increase the multipliers to get reliably measurable runtimes.
2019-01-09 12:22:48 +01:00
Lance Parker
15aaa1e777 [stdlib]String normalization functions (#21026)
* fast/foreignNormalize functions
2019-01-08 13:55:29 -08:00
Pavol Vaskovic
c011bd70c3 [benchmark] Add swapped Set.*.Empty variants
Let’s also test Empty sets as the right-hand side parameter.
2019-01-08 21:54:59 +01:00
Pavol Vaskovic
84580f88fe [benchmark] Adjust new tests to Naming Convention
Most of these recently added benchmarks have too low loop multiplier that results in near zero or zero measured runtime.

Since fixing this will change the runtimes, it is also an opportunity to properly apply the new naming convention.
2019-01-08 21:53:18 +01:00
Pavol Vaskovic
7db46b3b14 [benchmark] Inlined loop miltipliers
Also added 2 forgotten legacy factors.
2019-01-08 02:06:10 +01:00
Pavol Vaskovic
1df944c300 [benchmark] Fix DataSubscript fragile inlining? 2019-01-04 23:50:18 +01:00
Pavol Vaskovic
928d015037 [benchmark] DataBenchmarks Legacy Factor
Adjusted the multipliers to run in under 1000 μs.

The inner loop multipliers are divided by the `legacyFactor` to achieve the same reported runtime, but in a shorter time and with better precision (less accumulated error).
2019-01-04 22:31:30 +01:00
Pavol Vaskovic
6af0eab31a [benchmark] Move loop multipliers to BenchmarkInfo 2019-01-04 22:30:29 +01:00
Pavol Vaskovic
e4cdc48da5 [benchmark] DataToString, StringToData refactored
Refactored to use shared test method and inlined runFunctions.
2019-01-04 22:29:50 +01:00
Pavol Vaskovic
0fa784fa76 [benchmark] DataReplaceBuffer refactored
Refactored to use shared test method and inlined runFunctions.

Re-enabled `Large` test errorneously disabled in #20411. Removed `skip` tags, as this was the last use.
2019-01-04 22:29:41 +01:00
Pavol Vaskovic
5c503c8b5d [benchmark] DataReplace refactored
Refactored to use shared test method and inlined runFunctions.
2019-01-04 21:33:12 +01:00