CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat(criterion-compat): add `iter_manual` to have finer control over the iteration loop
#180
Merged
Comparing
cod-2677-add-a-custom-iter-in-codspeed-criterion-to-support-custom
(
e8a25a8
) with
main
(
6c54971
)
CodSpeed Performance Gauge
+2%
Improvement
15
Regression
9
Untouched
551
New
8
Ignored
28
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
New
Untouched
Ignored
611 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_array1[42]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-74%
47 ns
179 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
slice_into_vec_with_bytes
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
-43%
54 ns
94 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
-25%
1.2 µs
1.5 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
graph_coloring[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-22%
1.1 µs
1.4 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
add_two_integers[(65535, -65535)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-16%
75 ns
89 ns
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
-8%
845 ns
920 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
fib_10
crates/divan_compat/benches/fib_example.rs
CodSpeed Performance Gauge
-6%
392 ns
419 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
sum_fold
crates/criterion_compat/benches/criterion_example.rs::benches::a
CodSpeed Performance Gauge
-4%
309 ns
322 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
process_items_with_counter
crates/divan_compat/examples/benches/counters.rs::items_counter_examples
CodSpeed Performance Gauge
-3%
835.8 ns
865 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
add_two_integers[(255, 255)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
×3.3
20 ns
6 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_batched_large_input
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+33%
8 ns
6 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
+28%
60 ns
47 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Iterative
crates/criterion_compat/benches/criterion_integration/compare_functions.rs::fibonaccis::compare_fibonaccis::Fibonacci
CodSpeed Performance Gauge
+22%
161.9 ns
132.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Iterative[20]
crates/criterion_compat/benches/criterion_integration/compare_functions.rs::fibonaccis::compare_fibonaccis_group::Fibonacci3
CodSpeed Performance Gauge
+22%
161.9 ns
132.8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_batched_per_iteration
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+22%
56 ns
46 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Iterative[21]
crates/criterion_compat/benches/criterion_integration/compare_functions.rs::fibonaccis::compare_fibonaccis_group::Fibonacci3
CodSpeed Performance Gauge
+22%
163.6 ns
134.4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_batched_ref_large_input
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+20%
6 ns
5 ns
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
+19%
4 µs
3.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
+18%
4 µs
3.4 µ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
+10%
7.2 µs
6.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
iterative[20]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+8%
41 ns
38 ns
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
+6%
85 ns
80 ns
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
+6%
11.3 µs
10.7 µ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
+3%
19.6 µs
19 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_manual_simple
crates/criterion_compat/benches/criterion_integration/iter_manual.rs::benches::iter_manual_simple
CodSpeed Performance Gauge
N/A
N/A
100.1 ms
1
2
3
4
5
...
25
Commits
Click on a commit to change the comparison range
Base
main
6c54971
+2.3%
chore: shard criterion benchmarks
e8a25a8
2 days ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs