benchmark
benchmark copied to clipboard
A microbenchmark support library
Currently, the assembly tests only compile and run with CMake. Bazel support should be added as well. Patches welcome, but I'll look into doing it myself as I become more...
Hi google-benchmark team, being accustomed to the googletest framework, I'm searching for an utility that matches TYPED_TEST. I only found BENCHMARK_TEMPLATE, but this will pass all template arguments to just...
The `BENCHMARK` registration macros execute during program startup, ie static initialization. Since the order of static initialization is unspecified, users who execute arbitrary code while registering benchmarks may encounter the...
While benchmarking the CUDA FFT library, I noticed that the minimum speed given by the`BigO` complexity measure is `0.01NlgN`. This is a problem because when I try to benchmark the...
Hi! If I enable set_union_unbalanced benchmark, I get: ` set_union_benchmark 9301 ns 9238 ns 74616 set_union_benchmark 9586 ns 9550 ns 76047 ` However, if it's disabled (commented out), I get:...
Hi, I've tried building this on a ppc64le machine (power8) and it fails in src/cycleclock.h: In file included from /tmp/build/protobuf/third_party/benchmark/src/sysinfo.cc:44:0: /tmp/build/protobuf/third_party/benchmark/src/cycleclock.h: In function 'int64_t benchmark::cycleclock::Now()': /tmp/build/protobuf/third_party/benchmark/src/cycleclock.h:82:23: error: 'int64' does not...
Markdown support helps to streamline the publishing of the results in GitHub. I.e. remove the need to reformat the console output to Markdown table format when publishing the results in...
When calculating time complexity and the range includes 0 it fails upon evaluation. ``` void BM_Example(benchmark::State& state) { while (state.KeepRunning()) { int i = state.range(0); } state.SetComplexityN(state.range(0)); } BENCHMARK(BM_JumpTable)->RangeMultiplier(2)->Range(0, 1)->Complexity(benchmark::o1);...
`folly::benchmark` includes [makeUnpredictable](https://github.com/facebook/folly/blob/e0b75e77cc224d3caffbb717342873c858e893fe/folly/Benchmark.h#L203) function to hide a compile-time constant value of a variable from optimizer. This is a very useful feature, and `google::benchmark` should provide something similar.
Good morning all I've read as much as I could the doc and list of issues on github but could nt find a reply regarding this question. If I understand...