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.
permutations[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-5%
10.8 µs
11.4 µs
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
-5%
248 ns
261 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.
permutations[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-5%
760.5 µs
797.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
large_drop
crates/criterion_compat/benches/criterion_integration/iter_with_large_drop.rs::benches::large_drop::iter_with_large_drop
CodSpeed Performance Gauge
-4%
172.7 µs
180.1 µs
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.
from_elem[16384]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
-3%
821 ns
846 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
-3%
791 ns
815 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
-3%
1.2 µs
1.2 µ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
-3%
720 ns
741 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.
graph_coloring[4]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-2%
1 µs
1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_gray_code[1]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-2%
129 ns
132 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.
permutations[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-2%
698 ns
713 ns
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
6cb8d30
-64.26%
chore: use std::hint::black_box
6178dd1
1 year ago
by DaniPopes
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs