CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: add support consts with divan
#84
Merged
Comparing
cod-609-please-can-you-support-divanbenchconsts-xxx
(
e40765d
) with
main
(
5517175
)
CodSpeed Performance Gauge
-24%
Improvement
1
Regression
1
Untouched
147
New
8
Ignored
9
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
New
Untouched
Ignored
166 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fibo_10
crates/divan_compat/benches/basic_example.rs
CodSpeed Performance Gauge
-24%
90 ns
119.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fibo_500
crates/divan_compat/benches/basic_example.rs
CodSpeed Performance Gauge
+11%
286.9 ns
257.8 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
N/A
N/A
125.3 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
N/A
N/A
125.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array2[10]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
N/A
N/A
225 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array2[1]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
N/A
N/A
90 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array1[10]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
N/A
N/A
225 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
init_array[1000]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
N/A
N/A
11.4 µs
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
N/A
N/A
154.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_array1[1]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
N/A
N/A
90 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 0]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+8%
400.8 ns
371.7 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+1%
2.3 µs
2.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 10]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
+1%
2.9 µs
2.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[BTreeMap<u64, u64>, 20]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
0%
6.7 µs
6.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[HashMap<u64, u64>, 20]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
0%
8 µs
8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
recursive_memoized[HashMap<u64, u64>, 30]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
0%
13.2 µs
13.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
permutations[7]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add_two_integers[(1024, -1024)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
241.1 ns
241.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add_two_integers[(255, 255)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
154.4 ns
154.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add_two_integers[(42, 13)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
154.4 ns
154.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add_two_integers[(0, 0)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
150.3 ns
150.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add_two_integers[(65535, -65535)]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
257.8 ns
257.8 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[4]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
6 µs
6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[1]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
3.2 µs
3.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
generate_gray_code[2]
crates/divan_compat/examples/benches/the_algorithms.rs::bit_manipulation
CodSpeed Performance Gauge
0%
3.5 µs
3.5 µs
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
5517175
-54.88%
feat: add consts benchmark and missing items in __private
e40765d
1 year ago
by not-matthias
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs