benchmark/test
Eric Fiselier 7a767012f1 Adopt new benchmark timing internals.
This patch adopts a new internal structure for how timings are performed.
Currently every iteration of a benchmark checks to see if it has been running
for an appropriate amount of time. Checking the clock introduces noise into
the timings and this can cause inconsistent output from each benchmark.

Now every iteration of a benchmark only checks an iteration count to see if it
should stop running. The iteration count is determined before hand by testing
the benchmark on a series of increasing iteration counts until a suitable count
is found. This increases the amount of time it takes to run the actual benchmarks
but it also greatly increases the accuracy of the results.

This patch introduces some breaking changes. The notable breaking changes are:
1. Benchmarks run on multiple threads no generate a report per thread. Instead
   only a single report is generated.
2. ::benchmark::UseRealTime() was removed and replaced with State::UseRealTime().
2015-03-12 18:03:33 -04:00
..
basic_test.cc Adopt new benchmark timing internals. 2015-03-12 18:03:33 -04:00
benchmark_test.cc Adopt new benchmark timing internals. 2015-03-12 18:03:33 -04:00
CMakeLists.txt Adopt new benchmark timing internals. 2015-03-12 18:03:33 -04:00
filter_test.cc Add filter test, remove re test, and googletest deps 2015-03-09 20:30:14 -07:00