Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-cpp
BlogDocsChangelog

fix: initialize g_hooks before using it

#28Merged
Comparing
cod-1547-codspeed-cpp-fix-unknown-environment-warnings-when-running
(
7c8c06d
) with
main
(
4a4951f
)
CodSpeed Performance Gauge
0%
Untouched
144
Ignored
8

Benchmarks

152 total
BM_memcpy[8192]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
+8%
499.9 ns462.2 ns
BM_sleep_100ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
+6%
175.6 ns166 ns
BM_sleep_100ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
+3%
181.1 ns176.1 ns
BM_memcpy[8192]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
+1%
474.8 ns469.6 ns
BM_memcpy[4096]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
+1%
235.8 ns234.5 ns
BM_sleep_50ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
129 ns128.7 ns
BM_memcpy[4096]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
234.2 ns233.9 ns
BM_sleep_1ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
1 ms1 ms
BM_large_setup_teardown
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
BM_memcpy[512]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
32.4 ns32.4 ns
BM_large_setup
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
BM_sleep_1us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
1.1 µs1.1 µs
BM_sleep_10us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
10.1 µs10.1 µs
BM_sleep_10us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
10.1 µs10.1 µs
BM_large_setup_teardown
examples/google_benchmark_bazel/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
BM_sleep_50us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
50.1 µs50.1 µs
BM_sleep_100us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
100.3 µs100.3 µs
FooTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns
BM_StringCopy
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
10.1 ns10.1 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns
BM_FibonacciIterative[50]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
62.5 ns62.5 ns
BM_Template1[int]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns
TestA[MyTemplate1, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns
BM_Template2[int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns

Commits

Click on a commit to change the comparison range
Base
main
4a4951f
-0.32%
fix: initialize g_hooks before using it
7c8c06d
3 months ago
by not-matthias
© 2026 CodSpeed Technology
Home Terms Privacy Docs