Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-rust
BlogDocsChangelog

feat(divan): support `counter` compatibility with a dummy implementation

#115Merged
Comparing
cod-866-missing-divan-counter-and-bench_group
(
127771a
) with
main
(
27c0199
)
CodSpeed Performance Gauge
-68%
Improvement
6
Regression
3
Untouched
335
New
22
Ignored
28

Benchmarks

394 total
add_two_integers[(255, 255)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-68%
6 ns19 ns
div
crates/divan_compat/examples/benches/math.rs
CodSpeed Performance Gauge
-23%
95 ns124.2 ns
rem
crates/divan_compat/examples/benches/math.rs
CodSpeed Performance Gauge
-23%
95.3 ns124.4 ns
add
crates/divan_compat/examples/benches/math.rs
CodSpeed Performance Gauge
+32%
120.6 ns91.4 ns
mul
crates/divan_compat/examples/benches/math.rs
CodSpeed Performance Gauge
+32%
120.6 ns91.4 ns
iterative[0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+24%
148.3 ns119.2 ns
hamiltonian_cycle[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+6%
908 ns857 ns
from_elem_decimal[1024]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+5%
84 ns*80 ns
permutations[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+4%
70.2 µs67.5 µs
process_with_multiple_counters
crates/divan_compat/examples/benches/counters.rs::multiple_counters_examples
CodSpeed Performance Gauge
N/A
N/A46 ns
filter_items_with_counter
crates/divan_compat/examples/benches/counters.rs::items_counter_examples
CodSpeed Performance Gauge
N/A
N/A865 ns
uppercase_chars_with_counter
crates/divan_compat/examples/benches/counters.rs::chars_counter_examples
CodSpeed Performance Gauge
N/A
N/A363 ns
process_items_with_counter
crates/divan_compat/examples/benches/counters.rs::items_counter_examples
CodSpeed Performance Gauge
N/A
N/A60 ns
string_copy_with_bytes_counter
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
N/A
N/A61 ns
slice_into_vec_with_bytes
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
N/A
N/A59 ns
hash_computation_cycles
crates/divan_compat/examples/benches/counters.rs::cycles_counter_examples
CodSpeed Performance Gauge
N/A
N/A48 ns
simulated_processing_cycles
crates/divan_compat/examples/benches/counters.rs::cycles_counter_examples
CodSpeed Performance Gauge
N/A
N/A885 ns
count_chars_in_string
crates/divan_compat/examples/benches/counters.rs::chars_counter_examples
CodSpeed Performance Gauge
N/A
N/A33 ns
vec_copy_with_bytes_counter
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
N/A
N/A60 ns
string_processing_multi_counter
crates/divan_compat/examples/benches/counters.rs::multiple_counters_examples
CodSpeed Performance Gauge
N/A
N/A366 ns
slice_into_vec_with_bytes
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
N/A
N/A671.9 ns
vec_copy_with_bytes_counter
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
N/A
N/A887.5 ns
count_chars_in_string
crates/divan_compat/examples/benches/counters.rs::chars_counter_examples
CodSpeed Performance Gauge
N/A
N/A730.3 ns
string_copy_with_bytes_counter
crates/divan_compat/examples/benches/counters.rs::bytes_counter_examples
CodSpeed Performance Gauge
N/A
N/A798.1 ns
simulated_processing_cycles
crates/divan_compat/examples/benches/counters.rs::cycles_counter_examples
CodSpeed Performance Gauge
N/A
N/A2 µs

Commits

Click on a commit to change the comparison range
Base
main
27c0199
-68.42%
ci: run tests in parallel to speedup the ci
127771a
4 months ago
by art049
© 2026 CodSpeed Technology
Home Terms Privacy Docs