Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-cpp
Instrumentation
Wall Time
BlogDocsChangelog

fix: perf instrumentation not available for cpp codspeed

#17Merged
Comparing
cod-1040-perf-instrumentation-not-available-for-cpp-codspeed
(
dcb45c2
) with
main
(
835fcda
)
CodSpeed Performance Gauge
+98%
Improvements
26
Regressions
0
Untouched
16
New
28
Dropped
0
Ignored
0

Benchmarks

Improved

BM_Capture[int_test]
examples/google_benchmark_bazel/main.cpp::BM_Capture[int_test]
CodSpeed Performance Gauge
+98%
121.4 ns
61.4 ns
BM_Template2[int, double]
examples/google_benchmark_bazel/template_bench.hpp::BM_Template2[int, double]
CodSpeed Performance Gauge
+97%
121.7 ns
61.7 ns
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_bazel/template_bench.hpp::BM_Template1_Capture[two_type_test, int, double]
CodSpeed Performance Gauge
+66%
150.6 ns
90.6 ns
BM_Capture[int_test]
examples/google_benchmark_cmake/main.cpp::BM_Capture[int_test]
CodSpeed Performance Gauge
+50%
91.9 ns
61.1 ns
BM_rand_vector
examples/google_benchmark_bazel/main.cpp::BM_rand_vector
CodSpeed Performance Gauge
+49%
182.8 ns
122.8 ns
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_cmake/template_bench.hpp::BM_Template1_Capture[two_type_test, int, double]
CodSpeed Performance Gauge
+35%
121.1 ns
90 ns
BarTest[MyFixture]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace::BarTest[MyFixture]
CodSpeed Performance Gauge
+34%
122.2 ns
91.1 ns
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace::DoubleTest[MyTemplatedFixture, double]
CodSpeed Performance Gauge
+34%
122.2 ns
91.1 ns
FooTest[MyFixture]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace::FooTest[MyFixture]
CodSpeed Performance Gauge
+34%
122.2 ns
91.1 ns
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace::IntTest[MyTemplatedFixture, int]
CodSpeed Performance Gauge
+34%
122.2 ns
91.1 ns
TestA[MyTemplate1, int]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace::TestA[MyTemplate1, int]
CodSpeed Performance Gauge
+34%
122.2 ns
91.1 ns
TestB[MyTemplate2, int, double]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace::TestB[MyTemplate2, int, double]
CodSpeed Performance Gauge
+34%
122.2 ns
91.1 ns
BM_Capture[int_string_test]
examples/google_benchmark_bazel/main.cpp::BM_Capture[int_string_test]
CodSpeed Performance Gauge
+34%
121.4 ns
90.6 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_bazel/template_bench.hpp::BM_Template1_Capture[int_string_test]
CodSpeed Performance Gauge
+34%
121.4 ns
90.6 ns
BM_Template1[int]
examples/google_benchmark_bazel/template_bench.hpp::BM_Template1[int]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
BarTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace::BarTest[MyFixture]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace::DoubleTest[MyTemplatedFixture, double]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
FooTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace::FooTest[MyFixture]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace::IntTest[MyTemplatedFixture, int]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
TestA[MyTemplate1, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace::TestA[MyTemplate1, int]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
TestB[MyTemplate2, int, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace::TestB[MyTemplate2, int, double]
CodSpeed Performance Gauge
+34%
121.7 ns
90.8 ns
BM_Template2[int, double]
examples/google_benchmark_cmake/template_bench.hpp::BM_Template2[int, double]
CodSpeed Performance Gauge
+34%
121.9 ns
91.1 ns
BM_rand_vector
examples/google_benchmark_cmake/main.cpp::BM_rand_vector
CodSpeed Performance Gauge
+25%
153.1 ns
122.2 ns
BM_memcpy[64]
examples/google_benchmark_cmake/main.cpp::BM_memcpy[64]
CodSpeed Performance Gauge
+20%
362.2 ns
301.9 ns
BM_StringCopy
examples/google_benchmark_bazel/main.cpp::BM_StringCopy
CodSpeed Performance Gauge
+16%
430.6 ns
370.6 ns
BM_Template[int]
examples/google_benchmark_cmake/template_bench.hpp::test::BM_Template[int]
CodSpeed Performance Gauge
+10%
960.3 ns
870.6 ns

New

BM_FibonacciIterative[50]
examples/google_benchmark_bazel/fibonacci_bench.hpp::BM_FibonacciIterative[50]
CodSpeed Performance Gauge
N/A
N/A
174.4 ns
BM_FibonacciRecursive[35]
examples/google_benchmark_bazel/fibonacci_bench.hpp::BM_FibonacciRecursive[35]
CodSpeed Performance Gauge
N/A
N/A
100.9 ms
BM_sleep_100ms
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_100ms
CodSpeed Performance Gauge
N/A
N/A
479 µs
BM_sleep_100ns
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_100ns
CodSpeed Performance Gauge
N/A
N/A
468.3 ns
BM_sleep_100us
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_100us
CodSpeed Performance Gauge
N/A
N/A
439.2 ns
BM_sleep_10ms
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_10ms
CodSpeed Performance Gauge
N/A
N/A
47.4 µs
BM_sleep_10ns
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_10ns
CodSpeed Performance Gauge
N/A
N/A
468.3 ns
BM_sleep_10us
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_10us
CodSpeed Performance Gauge
N/A
N/A
439.2 ns
BM_sleep_1ms
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_1ms
CodSpeed Performance Gauge
N/A
N/A
4.4 µs
BM_sleep_1ns
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_1ns
CodSpeed Performance Gauge
N/A
N/A
468.3 ns
BM_sleep_1us
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_1us
CodSpeed Performance Gauge
N/A
N/A
468.3 ns
BM_sleep_50ms
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_50ms
CodSpeed Performance Gauge
N/A
N/A
237.5 µs
BM_sleep_50ns
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_50ns
CodSpeed Performance Gauge
N/A
N/A
468.3 ns
BM_sleep_50us
examples/google_benchmark_bazel/sleep_bench.hpp::BM_sleep_50us
CodSpeed Performance Gauge
N/A
N/A
468.3 ns
BM_FibonacciIterative[50]
examples/google_benchmark_cmake/fibonacci_bench.hpp::BM_FibonacciIterative[50]
CodSpeed Performance Gauge
N/A
N/A
173.9 ns
BM_FibonacciRecursive[35]
examples/google_benchmark_cmake/fibonacci_bench.hpp::BM_FibonacciRecursive[35]
CodSpeed Performance Gauge
N/A
N/A
104 ms
BM_sleep_100ms
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_100ms
CodSpeed Performance Gauge
N/A
N/A
468.8 µs
BM_sleep_100ns
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_100ns
CodSpeed Performance Gauge
N/A
N/A
438.9 ns
BM_sleep_100us
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_100us
CodSpeed Performance Gauge
N/A
N/A
468.1 ns
BM_sleep_10ms
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_10ms
CodSpeed Performance Gauge
N/A
N/A
46.8 µs
BM_sleep_10ns
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_10ns
CodSpeed Performance Gauge
N/A
N/A
438.9 ns
BM_sleep_10us
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_10us
CodSpeed Performance Gauge
N/A
N/A
438.9 ns
BM_sleep_1ms
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_1ms
CodSpeed Performance Gauge
N/A
N/A
4.4 µs
BM_sleep_1ns
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_1ns
CodSpeed Performance Gauge
N/A
N/A
468.1 ns
BM_sleep_1us
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_1us
CodSpeed Performance Gauge
N/A
N/A
468.1 ns
BM_sleep_50ms
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_50ms
CodSpeed Performance Gauge
N/A
N/A
235.5 µs
BM_sleep_50ns
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_50ns
CodSpeed Performance Gauge
N/A
N/A
468.1 ns
BM_sleep_50us
examples/google_benchmark_cmake/sleep_bench.hpp::BM_sleep_50us
CodSpeed Performance Gauge
N/A
N/A
468.1 ns

Passed

BM_Template[int]
examples/google_benchmark_bazel/template_bench.hpp::test::BM_Template[int]
CodSpeed Performance Gauge
+7%
962.5 ns
902.2 ns
BM_memcpy[512]
examples/google_benchmark_cmake/main.cpp::BM_memcpy[512]
CodSpeed Performance Gauge
+3%
972.5 ns
941.4 ns
BM_Template[std\:\:string]
examples/google_benchmark_bazel/template_bench.hpp::test::BM_Template[std\:\:string]
CodSpeed Performance Gauge
+3%
1.2 µs
1.1 µs
BM_Capture[int_string_test]
examples/google_benchmark_cmake/main.cpp::BM_Capture[int_string_test]
CodSpeed Performance Gauge
+2%
91.9 ns
89.7 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_cmake/template_bench.hpp::BM_Template1_Capture[int_string_test]
CodSpeed Performance Gauge
+2%
91.9 ns
89.7 ns
BM_Template1[int]
examples/google_benchmark_cmake/template_bench.hpp::BM_Template1[int]
CodSpeed Performance Gauge
+2%
92.5 ns
90.8 ns
BM_memcpy[4096]
examples/google_benchmark_cmake/main.cpp::BM_memcpy[4096]
CodSpeed Performance Gauge
+1%
4.4 µs
4.4 µs
BM_memcpy[4096]
examples/google_benchmark_bazel/main.cpp::BM_memcpy[4096]
CodSpeed Performance Gauge
+1%
4.4 µs
4.4 µs
BM_memcpy[8]
examples/google_benchmark_cmake/main.cpp::BM_memcpy[8]
CodSpeed Performance Gauge
+1%
304.2 ns
302.2 ns
BM_memcpy[8]
examples/google_benchmark_bazel/main.cpp::BM_memcpy[8]
CodSpeed Performance Gauge
+1%
305.6 ns
303.6 ns
BM_memcpy[64]
examples/google_benchmark_bazel/main.cpp::BM_memcpy[64]
CodSpeed Performance Gauge
+1%
334.4 ns
332.5 ns
BM_StringCopy
examples/google_benchmark_cmake/main.cpp::BM_StringCopy
CodSpeed Performance Gauge
+1%
400.8 ns
398.6 ns
BM_memcpy[8192]
examples/google_benchmark_cmake/main.cpp::BM_memcpy[8192]
CodSpeed Performance Gauge
0%
8.3 µs
8.3 µs
BM_memcpy[8192]
examples/google_benchmark_bazel/main.cpp::BM_memcpy[8192]
CodSpeed Performance Gauge
0%
8.3 µs
8.3 µs
BM_memcpy[512]
examples/google_benchmark_bazel/main.cpp::BM_memcpy[512]
CodSpeed Performance Gauge
-3%
944.7 ns
971.9 ns
BM_Template[std\:\:string]
examples/google_benchmark_cmake/template_bench.hpp::test::BM_Template[std\:\:string]
CodSpeed Performance Gauge
-5%
1.1 µs
1.1 µs

Commits

Click on a commit to change the comparison range
Base
main
835fcda
+98%
fix: resume and pause timing before measurements
dcb45c2
16 days ago
by not-matthias
© 2025 CodSpeed Technology
Home Terms Privacy Docs