Commit Graph

8 Commits

Author SHA1 Message Date
Pavol Vaskovic
ff4e8de340 [benchmark] WordCount, WordSplit Legacy Factor 2019-02-01 16:47:57 +01: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
Karoy Lorentey
77fa298276 [benchmark] WordCount: Use a unified buildWorkload() func
setUpFunction code should be located together with the corresponding runFunction code, so that we can verify them at a glance. However, we can't really do that yet, and doing the setUp for all tests in bulk makes it less likely that we make a mistake in matching up tests with their corresponding setups. :/
2018-03-19 18:46:29 +00:00
Karoy Lorentey
ea99af40b3 [benchmark] WordCount: Also blackHole WordSplit tests, for good measure 2018-03-19 15:06:23 +00:00
Karoy Lorentey
872efe151b [benchmark] WordCount: Initialize global variables in setUpFunction.
WordCount shows significant variance between iterations, which is apparently caused by the initialization of someAlphanumerics and asciiWords/utf16Words leaking into the measured part of the benchmark.

Making sure these variables are initialized before we start measuring elapsed time stabilizes the results.
2018-03-19 14:51:29 +00:00
Karoy Lorentey
67d403f97e [benchmark] WordCount: Use default makeIterator() 2018-01-08 12:06:32 +00:00
Karoy Lorentey
f85f836f91 [benchmark] WordCount: Use CheckResults. 2018-01-08 12:06:32 +00:00
Karoy Lorentey
6098fa4ac4 [benchmark] Add word counting benchmarks 2018-01-08 12:00:21 +00:00