CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat(cargo-codspeed): allow build with multiple modes
#162
Merged
Comparing
cod-2067-support-cargo-codspeed-build-m-instrument1-m-instrument2-in
(
7fc87c3
) with
main
(
a8754dd
)
CodSpeed Performance Gauge
-70%
Improvement
13
Regression
2
Untouched
560
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
Regression
Improvement
Untouched
Ignored
603 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
add_two_integers[(255, 255)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-70%
6 ns
20 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
fib_10
crates/divan_compat/benches/fib_example.rs
CodSpeed Performance Gauge
-18%
375 ns
455 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
add_two_integers[(42, 13)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
×3.3
20 ns
6 ns
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
×2.1
2.1 µs
1 µ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
+85%
1,451 ns
785 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
hamiltonian_cycle[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+56%
1.7 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
find_highest_set_bit[1024]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+40%
7 ns
5 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
graph_coloring[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+33%
1.5 µs
1.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
slice_into_vec_with_bytes
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
+24%
57 ns
46 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
find_highest_set_bit[1024]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns
122.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
find_highest_set_bit[42]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns
122.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
find_highest_set_bit[65535]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns
122.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
find_highest_set_bit[255]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
151.4 ns
122.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_with_setup
crates/criterion_compat/benches/criterion_integration/iter_with_setup.rs::benches::setup
CodSpeed Performance Gauge
+11%
50 ns
45 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
process_items_with_counter
crates/divan_compat/examples/benches/counters.rs::items_counter_examples
CodSpeed Performance Gauge
+4%
835.8 ns
806.7 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
rat_in_maze[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-34%
863 ns
1,307 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
+29%
18 ns
14 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
find_highest_set_bit[0]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+24%
149.4 ns
120.3 ns
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
-22%
1.1 µs
1.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_with_setup
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+20%
48 ns
40 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive[0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+14%
240.3 ns
211.1 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[65535]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[0]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
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
-12%
15 ns
17 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
string_processing_multi_counter
crates/divan_compat/examples/benches/counters.rs::multiple_counters_examples
CodSpeed Performance Gauge
+11%
379 ns
340 ns
1
2
3
4
5
...
25
Commits
Click on a commit to change the comparison range
Base
main
a8754dd
-70%
feat(cargo-codspeed): allow build with multiple modes
7fc87c3
8 months ago
by not-matthias
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs