Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-cpp
BlogDocsChangelog

feat: add support for setting a custom benchmark name

#31Merged
Comparing
cod-1575-codspeed-cpp-support-custom-benchmark-name
(
cf778ec
) with
main
(
810d6b4
)
CodSpeed Performance Gauge
-32%
Improvement
5
Regression
10
Untouched
129
New
48
Ignored
8

Benchmarks

200 total
BM_Capture[int_test]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
-32%
61.4 ns90.6 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_bazel/template_bench.hpp
CodSpeed Performance Gauge
-32%
61.4 ns90.6 ns
BM_Capture[int_string_test]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
-32%
61.4 ns90.6 ns
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_bazel/template_bench.hpp
CodSpeed Performance Gauge
-32%
61.4 ns90.6 ns
DoubleTest[MyTemplatedFixture, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
-32%
61.7 ns90.8 ns
BarTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
-32%
61.7 ns90.8 ns
FooTest[MyFixture]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
-32%
61.7 ns90.8 ns
TestB[MyTemplate2, int, double]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
-32%
61.7 ns90.8 ns
IntTest[MyTemplatedFixture, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
-32%
61.7 ns90.8 ns
TestA[MyTemplate1, int]
examples/google_benchmark_cmake/fixture_bench.hpp::example_namespace
CodSpeed Performance Gauge
-32%
61.7 ns90.8 ns
BM_Template1_Capture[int_string_test]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
+48%
89.7 ns60.6 ns
BM_Capture[int_string_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
+48%
89.7 ns60.6 ns
BM_Template1_Capture[two_type_test, int, double]
examples/google_benchmark_cmake/template_bench.hpp
CodSpeed Performance Gauge
+48%
90 ns60.8 ns
BM_Capture[int_test]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
+48%
90.3 ns61.1 ns
BM_memcpy[8]
examples/google_benchmark_cmake/main.cpp
CodSpeed Performance Gauge
+11%
302.2 ns273.1 ns
BM_Capture_int[int_test]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A< 1 ns
BM_Capture_int_string[int_string_test]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A< 1 ns
BM_short_name
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A< 1 ns
BM_with_args[100]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A1.3 ns
BM_custom_name_in_namespace
examples/google_benchmark_bazel/main.cpp::one::two::three
CodSpeed Performance Gauge
N/A
N/A< 1 ns
BM_custom_args[100]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A1.3 ns
BM_with_args[1000]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A1.3 ns
BM_custom_multi[10/20]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A1.7 ns
BM_custom_multi[100/200]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A1.7 ns
BM_with_multiple_args[100/200]
examples/google_benchmark_bazel/main.cpp
CodSpeed Performance Gauge
N/A
N/A1.7 ns

Commits

Click on a commit to change the comparison range
Base
main
810d6b4
-32.21%
feat: add support for setting a custom benchmark name
cf778ec
3 months ago
by not-matthias
© 2026 CodSpeed Technology
Home Terms Privacy Docs