Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Impala 2.8.0
-
None
-
None
Description
We should consider using Google's Benchmark library (https://github.com/google/benchmark) to drive our microbenchmarks rather than util/benchmark.*.
Amongst other things, the library will run the benchmarks enough times to get a significant measurement, has hints to force the compiler not to optimize away otherwise dead code that we want to measure, and will warn if it detects frequency scaling.