CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
fix(build): improve instrument-hooks compilation and error handling
#135
Closed
Comparing
cod-1460-error-on-all-version-4-releases-on-x86_64_unknown_linux_gnu
(
1e697f8
) with
main
(
e64cdfa
)
CodSpeed Performance Gauge
-22%
Improvement
1
Regression
2
Untouched
341
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
372 total
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
-10%
36 ns
40 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
init_array[1000]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-3%
2.1 µs
2.2 µs
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
+3%
905 ns
878 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
CPU Simulation instrument
to collect CPU performance metrics.
bench_array1[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-16%
154.4 ns
183.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
init_array[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-16%
154.4 ns
183.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array2[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-16%
154.4 ns
183.6 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
mut_borrow
crates/divan_compat/benches/basic_example.rs
CodSpeed Performance Gauge
+14%
8 ns
7 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
+14%
1,019 ns
893 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive[0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-12%
211.1 ns
240.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive[5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-9%
291.1 ns
320.3 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
+9%
369 ns
339 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
+9%
264 ns
243 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+8%
400.8 ns
371.7 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem[8192]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+6%
559 ns
525 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
+5%
21 ns
20 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.1 µs
4.3 µ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
+4%
968 ns
929 ns
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
+4%
785 ns
755 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
n_queens_solver[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+4%
10.2 µs
9.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
permutations[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+3%
832.9 µs
805.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mut_borrow
crates/divan_compat/benches/basic_example.rs
CodSpeed Performance Gauge
+3%
953.3 ns
924.2 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 10]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+3%
605 ns
588 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
+3%
2.6 µs
2.5 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_gray_code[3]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-3%
560 ns
575 ns
1
2
3
4
5
...
15
Commits
Click on a commit to change the comparison range
Base
main
e64cdfa
-22.22%
fix(build): improve instrument-hooks compilation and error handling
1e697f8
1 year ago
by not-matthias
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs