Avatar for the CodSpeedHQ user
CodSpeedHQ
codspeed-rust
BlogDocsChangelog

fix(divan_compat): do not capture drop with perf

#118Closed
Comparing
cod-1344-investigate-benchmark-time-in-drop_in_place-and-perf
(
b02554d
) with
main
(
0565866
)
CodSpeed Performance Gauge
-7%
Untouched
158
New
11
Ignored
23

Benchmarks

192 total
fib_in_thread_bench[30]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A9.7 ms
fib_in_thread_bench[31]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A15.8 ms
fib_in_thread[32]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A25.5 ms
fib_in_thread_bench_local[32]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A25.5 ms
bench_large_input
crates/divan_compat/benches/drop_example.rs
CodSpeed Performance Gauge
N/A
N/A1.6 ms
fib_in_thread_bench[32]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A25.5 ms
fib_in_thread_bench_local[31]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A15.8 ms
fib_in_thread_bench_local[30]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A9.8 ms
fib_in_thread[30]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A9.7 ms
fib_in_thread[31]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A15.8 ms
bench_large_input_local
crates/divan_compat/benches/drop_example.rs
CodSpeed Performance Gauge
N/A
N/A1.5 ms
recursive[0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+14%
240.3 ns211.1 ns
bench_array1[10]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
+13%
254.2 ns225 ns
bench_array2[10]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
+13%
254.2 ns225 ns
recursive[5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+10%
320.3 ns291.1 ns
mut_borrow
crates/divan_compat/benches/basic_example.rs
CodSpeed Performance Gauge
+3%
924.2 ns895 ns
permutations[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+1%
6.2 µs6.1 µs
from_elem[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+1%
4 µs4 µs
from_elem_decimal[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+1%
4.1 µs4 µs
rat_in_maze[5]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+1%
5.7 µs5.7 µs
recursive_memoized[HashMap<u64, u64>, 30]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
0%
13.3 µs13.2 µs
rat_in_maze[6]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
6.1 µs6.1 µs
rat_in_maze[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
6.6 µs6.6 µs
rat_in_maze[8]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
6.9 µs6.9 µs
from_elem[4096]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
0%
7.2 µs7.2 µs

Commits

Click on a commit to change the comparison range
Base
main
60c7422
-15.98%
fixup: use previous bench guard
8b522b2
5 months ago
by not-matthias
-3.92%
fixup: add thread example
c013095
5 months ago
by not-matthias
+1.55%
chore: increase fib arg
60c7422
5 months ago
by not-matthias
+5.85%
wip: use custom branch
b02554d
5 months ago
by not-matthias
© 2026 CodSpeed Technology
Home Terms Privacy Docs