CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
chore: use std::hint::black_box
#97
Merged
Comparing
DaniPopes:std-black-box
(
6178dd1
) with
main
(
6cb8d30
)
CodSpeed Performance Gauge
-64%
Improvement
2
Regression
3
Untouched
153
Ignored
5
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
Ignored
163 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_100ns
crates/divan_compat/examples/benches/time_scale.rs
CodSpeed Performance Gauge
-64%
17.6 µs
49.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_100us
crates/divan_compat/examples/benches/time_scale.rs
CodSpeed Performance Gauge
-9%
121.4 µs
133.1 µ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
-5%
663 ns
696 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_1us
crates/divan_compat/examples/benches/time_scale.rs
CodSpeed Performance Gauge
+68%
58.4 µs
34.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem_decimal[1024]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+4%
82 ns
79 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
+21%
17 ns
14 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
+20%
12 ns
10 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
build_vec
crates/criterion_compat/benches/criterion_example.rs::benches::b
CodSpeed Performance Gauge
+6%
215 ns
202 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem_decimal[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+5%
256 ns
244 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem[1024]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+4%
82 ns
79 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
+3%
39 ns
38 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
instant
crates/divan_compat/examples/benches/time.rs::now
CodSpeed Performance Gauge
+3%
39 ns
38 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
system_time
crates/divan_compat/examples/benches/time.rs::now
CodSpeed Performance Gauge
+3%
39 ns
38 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
n_queens_solver[4]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+2%
1.7 µs
1.6 µs
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
+2%
1.8 µs
1.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 30]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+1%
2.8 µs
2.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[8]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+1%
4.2 µs
4.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
subset_sum[14]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+1%
2 µs
2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
knight_tour[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
249.5 ms
249 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_50ms
crates/divan_compat/benches/sleep_benches.rs
CodSpeed Performance Gauge
0%
50.1 ms
50 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_1ms
crates/divan_compat/examples/benches/time_scale.rs
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
sort
crates/divan_compat/examples/benches/sort.rs::sorted
CodSpeed Performance Gauge
0%
137.2 µs
137.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
Recursive
crates/criterion_compat/benches/criterion_integration/compare_functions.rs::fibonaccis::compare_fibonaccis::Fibonacci
CodSpeed Performance Gauge
0%
52.3 µs
52.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
Recursive[20]
crates/criterion_compat/benches/criterion_integration/compare_functions.rs::fibonaccis::compare_fibonaccis_group::Fibonacci3
CodSpeed Performance Gauge
0%
52.3 µs
52.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
sleep_10ms
crates/criterion_compat/benches/criterion_integration/sleep.rs::benches::sleep_benchmarks
CodSpeed Performance Gauge
0%
10.1 ms
10.1 ms
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
6cb8d30
-64.26%
chore: use std::hint::black_box
6178dd1
9 months ago
by DaniPopes
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs