CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat(cargo-codspeed): throw an error when building a bench target with the default harness
#144
Merged
Comparing
cod-1408-print-errorwarning-when-running-cargo-codspeed-on-a-target
(
6c92e06
) with
main
(
1bd1b2e
)
CodSpeed Performance Gauge
0%
Untouched
366
Ignored
28
Some benchmarks measured no execution time
Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.
Preventing compiler optimizations
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
394 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_1us
crates/divan_compat/examples/benches/time_scale.rs
CodSpeed Performance Gauge
+37%
29.2 µs
21.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
permutations[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+35%
1.4 µs
1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
permutations[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+33%
19.8 µs
14.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_array1[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-25%
3 ns
4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_array2[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-25%
3 ns
4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
init_array[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-25%
3 ns
4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-22%
14 ns
18 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+13%
2.8 µs
2.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array1[10]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-11%
225 ns
254.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array2[10]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-11%
225 ns
254.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 20]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-11%
2 µs
2.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
uppercase_chars_with_counter
crates/divan_compat/examples/benches/counters.rs::chars_counter_examples
CodSpeed Performance Gauge
+11%
393 ns
355 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
graph_coloring[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+10%
2.1 µs
1.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
large_setup
crates/criterion_compat/benches/criterion_integration/iter_with_large_setup.rs::benches::large_setup::iter_with_large_setup
CodSpeed Performance Gauge
-10%
18 ns
20 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+8%
2 µs
1.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
hamiltonian_cycle[4]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-7%
767 ns
827 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_gray_code[4]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+7%
1.2 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
process_with_multiple_counters
crates/divan_compat/examples/benches/counters.rs::multiple_counters_examples
CodSpeed Performance Gauge
+7%
49 ns
46 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_gray_code[2]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+6%
302 ns
284 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
-6%
237 ns
253 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem[4096]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
-5%
330 ns
349 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+5%
1.2 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
hamiltonian_cycle[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+5%
992 ns
947 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
subset_sum[18]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+5%
4.3 µs
4.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
hamiltonian_cycle[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-5%
1 µs
1 µs
1
2
3
4
5
...
16
Commits
Click on a commit to change the comparison range
Base
main
1bd1b2e
-0.06%
feat(cargo-codspeed): add default harness integration test
6c92e06
11 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs