CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(divan): use busy sleep in time scale examples
#149
Merged
Comparing
fix/busy-sleep-time-scale-benches
(
e5436a5
) with
main
(
550d10f
)
CodSpeed Performance Gauge
-10%
Improvement
3
Untouched
363
Ignored
28
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
394 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
×320
62,315 ns
194 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
×58
63.3 µs
1.1 µ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
+62%
162.2 µs
100.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
rat_in_maze[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+49%
1,211 ns
815 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
+31%
1.6 µs
1.2 µs
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
-21%
1.6 µs
2 µs
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
+19%
1,145 ns
959 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
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
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-15%
2.7 µs
3.2 µs
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.
generate_parentheses[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+14%
3.2 µs
2.8 µ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
-13%
45.6 µs
*
52.5 µ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
-13%
45.6 µs
*
52.5 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
Recursive[21]
crates/criterion_compat/benches/criterion_integration/compare_functions.rs::fibonaccis::compare_fibonaccis_group::Fibonacci3
CodSpeed Performance Gauge
-13%
74.2 µs
*
85.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[0]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[1024]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[255]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[65535]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
count_set_bits[42]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-13%
7 ns
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_batched_ref_per_iteration
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
-10%
36 ns
*
40 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_with_setup
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
-10%
36 ns
*
40 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[9]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+9%
5.7 µs
5.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
small_drop
crates/criterion_compat/benches/criterion_integration/iter_with_large_drop.rs::benches::small_drop::iter_with_large_drop
CodSpeed Performance Gauge
+9%
51 ns
*
47 ns
1
2
3
4
5
...
16
Commits
Click on a commit to change the comparison range
Base
main
550d10f
-10%
fix(divan): use busy sleep in time scale examples
e5436a5
7 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs