CodSpeedHQ
codspeed-cpp
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: add memory profiling support
#39
Comparing
cod-1945-support-memory-profiling-for-c
(
dfadbfd
) with
main
(
56e942a
)
CodSpeed Performance Gauge
0%
Untouched
96
Ignored
4
Skipped
100
Benchmarks
Skipped (100)
Passed
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Template[std\:\:string]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
+3%
72.7 ns
70.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_memcpy[8192]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
+1%
472.2 ns
466.8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_StringCopy
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
+1%
10.4 ns
10.3 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_memcpy[64]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
6.2 ns
6.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_100us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
100.1 µs
100.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_50ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
50 ms
50 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_10ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
10 ms
10 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_100ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
100 ms
100 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_1ms
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_FibonacciRecursive[35]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
104 ms
104 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_FibonacciIterative[50]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
173.9 ns
173.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_large_setup_teardown
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
10.6 ms
10.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_10us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns
468.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_100us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
438.9 ns
438.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_100ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns
468.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BarTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
FooTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_large_setup
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
10.6 ms
10.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
60.8 ns
60.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_custom_name_in_namespace
examples/google_benchmark_cmake/main.cpp::one::two::three
CodSpeed Performance Gauge
0%
61.1 ns
61.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_1ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns
468.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_10ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns
468.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_50us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns
468.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Template1[int]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Template[int]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
0%
870.6 ns
870.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Template1_Capture[int_string_test]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
60.6 ns
60.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_memcpy[512]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
941.4 ns
941.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
TestA[MyTemplate1, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_with_args[1000]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Template2[int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
91.1 ns
91.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_1us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
468.1 ns
468.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Template[std\:\:string]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
0%
1.2 µs
1.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
TestB[MyTemplate2, int, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Capture_int_string[int_string_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
60.8 ns
60.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_custom_multi[100/200]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
150.3 ns
150.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_custom_args[100]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_custom_args[1000]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Capture[int_string_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
60.6 ns
60.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_StringCopy
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
398.6 ns
398.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_memcpy[8]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
273.1 ns
273.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Capture[int_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
61.1 ns
61.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_memcpy[4096]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
4.4 µs
4.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_Capture_int[int_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
61.1 ns
61.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_with_args[100]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
90.8 ns
90.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_memcpy[8192]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
8.3 µs
8.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_short_name
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
61.1 ns
61.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_custom_multi[10/20]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
150.3 ns
150.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_with_multiple_args[10/20]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
150.3 ns
150.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_rand_vector
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
151.4 ns
151.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_50ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
438.9 ns
438.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_with_multiple_args[100/200]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
150.3 ns
150.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_memcpy[64]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
331.1 ns
331.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_SimpleMultithread
examples/google_benchmark_cmake/multithread_bench.hpp
CodSpeed Performance Gauge
0%
10.6 ms
10.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_50us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
50.1 µs
50.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_custom_multi[10/20]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_with_args[100]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Capture[int_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_with_args[1000]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Template1_Capture[int_string_test]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_with_multiple_args[100/200]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
TestB[MyTemplate2, int, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_large_setup
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Capture_int[int_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_with_multiple_args[10/20]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Template2[int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_rand_vector
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
1.8 ns
1.8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_memcpy[8]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
6.2 ns
6.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Capture[int_string_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BarTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
TestA[MyTemplate1, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
FooTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_FibonacciIterative[50]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
62.9 ns
62.9 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_short_name
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_50ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
125.5 ns
125.6 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_10us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
10.1 µs
10.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_custom_multi[100/200]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_custom_args[1000]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_memcpy[512]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
32.3 ns
32.3 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Capture_int_string[int_string_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_custom_name_in_namespace
examples/google_benchmark_cmake/main.cpp::one::two::three
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_1us
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
1.1 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_custom_args[100]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_1ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
83.4 ns
83.5 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_large_setup_teardown
examples/google_benchmark_cmake/pause_timing_bench.hpp
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_10ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
0%
83.4 ns
83.5 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Template1[int]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
0%
< 1 ns
< 1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_FibonacciRecursive[35]
examples/google_benchmark_cmake/fibonacci_bench.hpp
CodSpeed Performance Gauge
0%
67.6 ms
67.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_memcpy[4096]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
0%
236.8 ns
237.3 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_SimpleMultithread
examples/google_benchmark_cmake/multithread_bench.hpp
CodSpeed Performance Gauge
-1%
6.7 ms
6.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_Template[int]
examples/google_benchmark_cmake/template_bench.hpp::test
CodSpeed Performance Gauge
-1%
10 ns
10.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
BM_sleep_100ns
examples/google_benchmark_cmake/sleep_bench.hpp
CodSpeed Performance Gauge
-2%
166.9 ns
169.5 ns
Ignored
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_100ms
examples/google_benchmark_cmake/sleep_bench.hpp
Ignored
CodSpeed Performance Gauge
0%
478.4 µs
476.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_10ms
examples/google_benchmark_cmake/sleep_bench.hpp
Ignored
CodSpeed Performance Gauge
+1%
47.8 µs
47.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_1ms
examples/google_benchmark_cmake/sleep_bench.hpp
Ignored
CodSpeed Performance Gauge
0%
4.4 µs
4.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
BM_sleep_50ms
examples/google_benchmark_cmake/sleep_bench.hpp
Ignored
CodSpeed Performance Gauge
+1%
240.9 µs
238.9 µs
Commits
Click on a commit to change the comparison range
Base
main
56e942a
-32.11%
chore: bump instrument-hooks to support memory profiling
acce038
6 hours ago
by not-matthias
+32.1%
feat: run memory profiling in CI
dfadbfd
5 hours ago
by not-matthias
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs