CodSpeedHQ
codspeed-rust
BlogDocsChangelog

feat(cargo-codspeed): allow build with multiple modes

#162
Comparing
cod-2067-support-cargo-codspeed-build-m-instrument1-m-instrument2-in
(
bfeb0be
) with
main
(
a8754dd
)
CodSpeed Performance Gauge
-97%
Improvement
16
Regression
3
Untouched
556
Ignored
28

Benchmarks

603 total
add
crates/divan_compat/examples/benches/math.rs
CodSpeed Performance Gauge
-97%
2 ns59 ns
add_two_integers[(255, 255)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-70%
6 ns20 ns
iterative[20]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-5%
38 ns40 ns
add_two_integers[(42, 13)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
×3.3
20 ns6 ns
hamiltonian_cycle[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
×2
2.1 µs1.1 µs
small_drop
crates/criterion_compat/benches/criterion_integration/iter_with_large_drop.rs::benches::small_drop::iter_with_large_drop
CodSpeed Performance Gauge
×2
2 ns1 ns
hamiltonian_cycle[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+84%
1,703 ns926 ns
find_highest_set_bit[1024]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+40%
7 ns5 ns
graph_coloring[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+33%
1.5 µs1.1 µs
find_highest_set_bit[255]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns122.2 ns
find_highest_set_bit[1024]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns122.2 ns
find_highest_set_bit[42]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns122.2 ns
find_highest_set_bit[65535]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns122.2 ns
graph_coloring[4]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+14%
1,097 ns965 ns
graph_coloring[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+12%
1.2 µs1.1 µs
iter_batched_per_iteration
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+10%
44 ns40 ns
iter_batched_ref_large_input
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+7%
48 ns45 ns
iter_with_setup
crates/criterion_compat/benches/criterion_integration/iter_with_setup.rs::benches::setup
CodSpeed Performance Gauge
+4%
50 ns48 ns
process_items_with_counter
crates/divan_compat/examples/benches/counters.rs::items_counter_examples
CodSpeed Performance Gauge
+4%
835.8 ns806.7 ns
find_highest_set_bit[0]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
149.4 ns120.3 ns
recursive_memoized[BTreeMap<u64, u64>, 0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+20%
18 ns15 ns
recursive[0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+14%
240.3 ns211.1 ns
iter_with_setup
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+12%
48 ns43 ns
recursive[5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+10%
320.3 ns291.1 ns
system_time
crates/divan_compat/examples/benches/time.rs::now
CodSpeed Performance Gauge
+9%
363.6 ns334.4 ns

Commits

Click on a commit to change the comparison range
Base
main
a8754dd
-96.61%
feat(cargo-codspeed): allow build with multiple modes
bfeb0be
2 days ago
by not-matthias
© 2026 CodSpeed Technology
Home Terms Privacy Docs