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_Template[int]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
-8%
9.3 ns10.1 ns
BM_sleep_100ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
+6%
175.6 ns166 ns
BM_Template[std\:\:string]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
-3%
66.4 ns68.7 ns
BM_sleep_100ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
+3%
181.1 ns176.1 ns
BM_Template[int]
examples/google_benchmark_bazel/template_bench.hpp::test
CodSpeed Performance Gauge
-1%
9.2 ns9.3 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_10ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
-1%
82.6 ns83.1 ns
BM_sleep_1ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
-1%
82.6 ns83.1 ns
BM_sleep_50ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
136.1 ns136.7 ns
BM_sleep_50ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
129 ns128.7 ns
BM_sleep_1us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
1.1 µs1.1 µs
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
FooTest[MyFixture]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns< 1 ns
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_SimpleMultithread
examples/google_benchmark_cmake/multithread_bench.hpp
CodSpeed Performance Gauge
0%
6.6 ms6.6 ms
BM_sleep_50us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
50.1 µs50.1 µs

Commits

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