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_bench_local[32]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A25.5 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[31]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A15.8 ms
bench_large_input
crates/divan_compat/benches/drop_example.rs
CodSpeed Performance Gauge
N/A
N/A1.6 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_bench[32]
crates/divan_compat/benches/thread_example.rs
CodSpeed Performance Gauge
N/A
N/A25.5 ms
bench_large_input_local
crates/divan_compat/benches/drop_example.rs
CodSpeed Performance Gauge
N/A
N/A1.5 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
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
recursive_memoized[BTreeMap<u64, u64>, 0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-7%
400.8 ns430 ns
mut_borrow
crates/divan_compat/benches/basic_example.rs
CodSpeed Performance Gauge
+3%
924.2 ns895 ns
recursive_memoized[BTreeMap<u64, u64>, 5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-1%
2.4 µs2.4 µs
generate_gray_code[1]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-1%
2.6 µs2.6 µs
generate_gray_code[2]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-1%
2.9 µs2.9 µs
recursive_memoized[BTreeMap<u64, u64>, 10]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-1%
3 µs3 µs
permutations[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+1%
6.2 µs6.1 µs
generate_gray_code[3]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
-1%
3.6 µs3.6 µ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

Commits

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