CodSpeedHQ
codspeed-cpp
BlogDocsChangelog

feat: add perf v2 support

#19Merged
Comparing
cod-1379-codspeed-cpp-add-perf-v2-support
(
7c2430e
) with
main
(
dcb45c2
)
CodSpeed Performance Gauge
-32%
Improvements
6
Regressions
3
Untouched
61
New
6

Benchmarks

Failed

BM_Capture[int_test]
examples/google_benchmark_bazel/main.cpp
Regression
CodSpeed Performance Gauge
-32%
61.4 ns90.6 ns
BM_Capture[int_test]
examples/google_benchmark_cmake/main.cpp
Regression
CodSpeed Performance Gauge
-32%
61.1 ns90.3 ns
BM_rand_vector
examples/google_benchmark_cmake/main.cpp
Regression
CodSpeed Performance Gauge
-19%
122.2 ns151.4 ns

Improved

DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
+47%
90.8 ns61.7 ns
BarTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
+47%
90.8 ns61.7 ns
FooTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
+47%
90.8 ns61.7 ns
TestB[MyTemplate2, int, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
+47%
90.8 ns61.7 ns
TestA[MyTemplate1, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
+47%
90.8 ns61.7 ns
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
+47%
90.8 ns61.7 ns

New

BM_SimpleMultithread
examples/google_benchmark_bazel/multithread_bench.hpp
CodSpeed Performance Gauge
N/A
N/A13.2 ms
BM_large_setup_teardown
examples/google_benchmark_bazel/pause_timing_bench.hpp
CodSpeed Performance Gauge
N/A
N/A13.2 ms
BM_large_setup
examples/google_benchmark_bazel/pause_timing_bench.hpp
CodSpeed Performance Gauge
N/A
N/A13.2 ms
BM_large_setup
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
N/A
N/A10.6 ms
BM_SimpleMultithread
examples/google_benchmark_cmake/multithread_bench.hpp
CodSpeed Performance Gauge
N/A
N/A10.6 ms
BM_large_setup_teardown
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
N/A
N/A10.6 ms

Passed

BM_sleep_10ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
+7%
468.3 ns439.2 ns
BM_sleep_1ms
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
+2%
4.4 µs4.4 µs
BM_sleep_10ms
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
+1%
47.5 µs47 µs
BM_sleep_100ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
473.1 µs471 µs
BM_sleep_1ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
4.4 µs4.3 µs
BM_memcpy[8192]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
8.3 µs8.3 µs
BM_FibonacciRecursive[35]
examples/google_benchmark_bazel/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
100.9 ms100.9 ms
BM_Template1[int]
examples/google_benchmark_bazel/template_bench.hpp
CodSpeed Performance Gauge
0%
90.8 ns90.8 ns
BM_sleep_100ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.3 ns468.3 ns
BarTest[MyFixture]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
BM_FibonacciIterative[50]
examples/google_benchmark_bazel/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
174.4 ns174.4 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_bazel/template_bench.hpp
CodSpeed Performance Gauge
0%
90.6 ns90.6 ns
BM_sleep_50ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.3 ns468.3 ns
BM_sleep_50us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.3 ns468.3 ns
BM_Template[std\:\:string]
examples/google_benchmark_bazel/template_bench.hpp::test
CodSpeed Performance Gauge
0%
1.1 µs1.1 µs
FooTest[MyFixture]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
TestB[MyTemplate2, int, double]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
BM_Template2[int, double]
examples/google_benchmark_bazel/template_bench.hpp
CodSpeed Performance Gauge
0%
61.7 ns61.7 ns
BM_Capture[int_string_test]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
90.6 ns90.6 ns
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_bazel/template_bench.hpp
CodSpeed Performance Gauge
0%
90.6 ns90.6 ns
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
BM_Template[int]
examples/google_benchmark_bazel/template_bench.hpp::test
CodSpeed Performance Gauge
0%
902.2 ns902.2 ns
TestA[MyTemplate1, int]
examples/google_benchmark_bazel/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
BM_memcpy[64]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
332.5 ns332.5 ns
BM_sleep_1us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.3 ns468.3 ns
BM_rand_vector
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
122.8 ns122.8 ns
BM_sleep_1ns
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.3 ns468.3 ns
BM_memcpy[512]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
971.9 ns971.9 ns
BM_memcpy[4096]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
0%
4.4 µs4.4 µs
BM_FibonacciIterative[50]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
173.9 ns173.9 ns
BM_sleep_50us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns468.1 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
89.7 ns89.7 ns
BM_Template1[int]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
90.8 ns90.8 ns
BM_FibonacciRecursive[35]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
104 ms104 ms
BM_sleep_10ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
46.7 µs46.7 µs
BM_sleep_50ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns468.1 ns
BM_sleep_100us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns468.1 ns
BM_sleep_1us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns468.1 ns
BM_Template2[int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
91.1 ns91.1 ns
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
90 ns90 ns
BM_Template[std\:\:string]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
0%
1.1 µs1.1 µs
BM_Template[int]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
0%
870.6 ns870.6 ns
BM_Capture[int_string_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
89.7 ns89.7 ns
BM_memcpy[64]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
301.9 ns301.9 ns
BM_StringCopy
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
398.6 ns398.6 ns
BM_sleep_1ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns468.1 ns
BM_memcpy[8192]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
8.3 µs8.3 µs
BM_memcpy[8]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
302.2 ns302.2 ns
BM_sleep_100ms
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
0%
477.2 µs477.9 µs
BM_sleep_50ms
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
-1%
237.9 µs239.4 µs
BM_sleep_50ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
-1%
234.4 µs236.9 µs
BM_memcpy[4096]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
-1%
4.4 µs4.4 µs
BM_memcpy[512]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
-3%
941.4 ns970.6 ns
BM_sleep_100us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
-6%
439.2 ns468.3 ns
BM_sleep_10us
examples/google_benchmark_bazel/sleep_bench.hpp
CodSpeed Performance Gauge
-6%
439.2 ns468.3 ns
BM_sleep_100ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
-6%
438.9 ns468.1 ns
BM_sleep_10ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
-6%
438.9 ns468.1 ns
BM_sleep_10us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
-6%
438.9 ns468.1 ns
BM_StringCopy
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
-7%
370.6 ns399.7 ns
BM_memcpy[8]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
-9%
303.6 ns332.8 ns

Commits

Click on a commit to change the comparison range
Base
main
dcb45c2
-0.4%
fix: remove memory allocations, use fixed iteration count
7c2430e
2 days ago
by not-matthias
© 2025 CodSpeed Technology
Home Terms Privacy Docs