benchmark
benchmark copied to clipboard
A microbenchmark support library
Given that from v1.7.0 onwards, all tests are linking against `benchmark_main`, what does `link_main_test` do? Also could you kindly explain how the link works specifically for `link_main_test` on msvc, without...
I've managed to build the library by following the install manual. I've tried running the sample code on visual studio 2022. It runs however, it always throws an exception. An...
**Describe the bug** `DoNotOptimize()` doesn't prevent gcc from optimizing out array lookup. **System** - x86, godbolt, gcc 12.1, clang 14.0.0, google benchmark 1.6.1 **To reproduce** See assembly produced for this:...
Hi There is a question. When I specify the libcxx library as the library on which benchmark depends, the following linker error problem occurs. ``` g++ -O2 -march=corei7-avx -mavx2 -mfma...
Currently, #benchmark @ libera IRC channel is suggested. From practice, the channel is dead. As it happens, for some time now i've been experiencing halide's approach to this problem, https://gitter.im/halide/Halide....
**Describe the bug** A clear and concise description of what the bug is. ``` FAILED: _deps/google_benchmark-build/src/CMakeFiles/benchmark.dir/reporter.cc.obj C:\PROGRA~2\MICROS~4\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /nologo /TP -DAL_LIBTYPE_STATIC -DHAVE_STD_REGEX -DHAVE_STEADY_CLOCK -D_CRT_SECURE_NO_WARNINGS -I_deps\google_benchmark-src\include -I_deps\google_benchmark-src\src -I_deps\google_benchmark-build\include /DWIN32 /D_WINDOWS /GR /EHsc...
**Describe the bug** According to the [user guide](https://github.com/google/benchmark/blob/8d86026c67e41b1f74e67c1b20cc8f73871bc76e/docs/user_guide.md?plain=1#L258=), global setup and teardown functions should be once, unless using multiple threads: > The setup/teardown callbacks will be invoked once for each...
**Is your feature request related to a problem? Please describe.** A description of how to deprecate `CSVReporter` once and for all. **Describe the solution you'd like** * change "output_test_helper.cc" to...