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.
bench_array2[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-19%
125.3 ns
154.4 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
-19%
125.3 ns
154.4 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
-19%
125.3 ns
154.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
subset_sum[10]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-2%
2.4 µs
2.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
subset_sum[14]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-1%
4.4 µs
4.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 10]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-1%
2.9 µs
2.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fibo_recursive_cached
crates/codspeed/benches/native.rs
CodSpeed Performance Gauge
-1%
6.3 µs
6.4 µ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.
b
crates/bencher_compat/benches/bencher_example.rs::c
CodSpeed Performance Gauge
-1%
3.4 µs
3.4 µ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.
subset_sum[12]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-1%
4.1 µs
4.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
subset_sum[18]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-1%
8.2 µs
8.2 µ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.
graph_coloring[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-1%
5.3 µs
5.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[HashMap<u64, u64>, 30]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-1%
13.1 µs
13.2 µs
1
2
3
4
5
...
8
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