benchmark
benchmark copied to clipboard
A microbenchmark support library
MacOS has a semi undocumented API in libpthread that returns the INSTRUCTION and CYCLE counts of the calling thread. The API is thread_selfcounts and is available on Intel and Apple...
It would be useful to (optionally?) store the arg(s) in the output file. Let's say you have a benchmark that has different performance for different sizes of N. And you...
**Is your feature request related to a problem? Please describe.** It's really awesome for seeing perf counters support, but it's much better for more platforms like ARM CPU/GPU perf counters,...
I am currently using google/benchmark to benchmark https://github.com/protocolbuffers/upb. I would very much like for those benchmarks to also include memory usage. Does this project support memory benchmarking? The [user guide](https://github.com/google/benchmark/blob/main/docs/user_guide.md)...
**Describe the bug** An uninitialized pointer is dereferenced when calculating statistics for a repeated benchmark that fails a certain number of times, which causes a segv/access violation/other mayhem. This doesn't...
**Is your feature request related to a problem? Please describe.** Setting a suitable time unit for a specific benchmark is sometimes tedious when the machine the benchmark is developed on...
**Describe the bug** As per title: `cmake/benchmark.pc.in` has ``` prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ ``` and so can’t handle absolute paths in `CMAKE_INSTALL_{INCLUDE,LIB}DIR`. This leads to broken .pc files on NixOS...
**Describe the bug** test suite is failing in 3 units. **System** Which OS, compiler, and compiler version are you using: - OS: Linux x86/64 - Compiler and version: gcc 11.2.1...
Currently, on modern HW, where multiple PMU counters can be recorded for single run (example: Icaleake with 16 concurrent PMU counters, the code `perf_counters.cc` hard codes a limit of 3...