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
-19%
Improvement
2
Regression
4
Untouched
152
Ignored
18
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
Ignored
176 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fibo_iterative
crates/codspeed/benches/native.rs
CodSpeed Performance Gauge
-19%
126.7 ns
156.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sum_fold
crates/criterion_compat/benches/criterion_example.rs::benches::a
CodSpeed Performance Gauge
-10%
254.4 ns
283.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
a
crates/bencher_compat/benches/bencher_example.rs
CodSpeed Performance Gauge
-9%
254.7 ns
281.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
a
crates/bencher_compat/benches/bencher_example.rs::c
CodSpeed Performance Gauge
-9%
254.7 ns
281.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem[1024]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+3%
1.9 µs
1.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem_decimal[1024]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+3%
1.9 µs
1.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[1]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+1%
3.2 µs
3.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[2]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+1%
3.5 µs
3.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[HashMap<u64, u64>, 5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+1%
3.6 µs
3.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+1%
4 µs
4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem_decimal[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+1%
4.1 µs
4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
n_queens_solver[4]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+1%
8.9 µs
8.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[3]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
+1%
4.5 µs
4.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[4]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
6 µs
6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rat_in_maze[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
6.1 µs
6.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rat_in_maze[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
6.6 µs
6.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[HashMap<u64, u64>, 10]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
0%
4.9 µs
4.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rat_in_maze[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
7 µs
7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem[4096]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
0%
7.2 µs
7.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rat_in_maze[8]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
7.4 µs
7.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[5]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
9.2 µs
9.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_parentheses[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
9.7 µs
9.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem[8192]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
0%
11.3 µs
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_parentheses[4]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
17.8 µs
17.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from_elem[16384]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
0%
19.6 µs
19.6 µs
1
2
...
8
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