benchmark icon indicating copy to clipboard operation
benchmark copied to clipboard

A microbenchmark support library

Results 181 benchmark issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** Currently, I cannot use `compare.py` using bazel. The use case scenario is when another repo depends on this repo (i.e....

enhancement
help wanted

I tried to figure out the version of my installed google/benchmark. It is either 1.5.0 or 1.5.1, but I am unsure. I'd like to have a version.h file or something...

enhancement
help wanted

I was trying to measure something that needs somewhat expensive setup per iteration - compared to the thing that needs comparing. (It's not possible to perform this setup outside the...

**Describe the bug** clang analyzer / clang-tidy 13 reports "Potential memory leak" when registering a benchmark with a lambda. ``` include/benchmark/benchmark.h:1193:3: error: Potential memory leak [clang-analyzer-cplusplus.NewDeleteLeaks,-warnings-as-errors] return internal::RegisterBenchmarkInternal( ^ bench.cpp:169:13:...

**Describe the bug** Passing -DBENCHMARK_ENABLE_LTO=true to CMake with XCode toolchain results in error: ``` ... -- Performing Test HAVE_CXX_FLAG_FLTO -- Performing Test HAVE_CXX_FLAG_FLTO - Success -- Performing Test HAVE_CXX_FLAG_WNO_LTO_TYPE_MISMATCH --...

os:osx

**Is your feature request related to a problem? Please describe.** I need to benchmark a function that performs an in-place transform on an array. This transform maps variables from a...

**Is your feature request related to a problem? Please describe.** I'd like to use the benchmark suite in a restricted environment which differs from the currently supported platforms, like linux...

enhancement
help wanted

**Describe the bug** I'm not really sure if it's either normal, a clang problem, a benchmark problem, a Mac problem, or a user error. 2 simple bench : ```cpp void...

bug
help wanted

**Describe the bug** Clang 13 on Windows emits an error on compilation of `benchmark.cc`: ``` ..\..\3rdparty\benchmark\src\benchmark.cc(173,17): error: static_assert expression is not an integral constant expression static_assert(offsetof(State, error_occurred_) m))) ^ ..\..\3rdparty\benchmark\src\benchmark.cc(173,17):...

bug

**Describe the bug** **System** Which OS, compiler, and compiler version are you using: - OS: OSX (bigsur) - Compiler and version: Apple Clang 13.0.0 **To reproduce** 1. at HEAD 2....

bug
help wanted
os:osx