CodSpeedHQ
codspeed-rust
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
feat: rename instrumentation to simulation
#150
Merged
Comparing
cod-1441-accept-simulation-as-a-value-instrumentation-which-is-now
(
9181bce
) with
main
(
03f528f
)
CodSpeed Performance Gauge
-30%
Untouched
366
Ignored
28
Some benchmarks measured no execution time
Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.
Preventing compiler optimizations
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
394 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
simulated_processing_cycles
crates/divan_compat/examples/benches/counters.rs::cycles_counter_examples
CodSpeed Performance Gauge
+50%
1,325 ns
*
884 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
permutations[3]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
+32%
1,145 ns
*
866 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
filter_items_with_counter
crates/divan_compat/examples/benches/counters.rs::items_counter_examples
CodSpeed Performance Gauge
-30%
802 ns
*
1,145 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_array2[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-25%
3 ns
4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
init_array[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-25%
3 ns
4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
bench_array1[4]
crates/divan_compat/benches/basic_example.rs::const_bench
CodSpeed Performance Gauge
-25%
3 ns
4 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
+19%
183.6 ns
154.4 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
+19%
183.6 ns
154.4 ns
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
+19%
183.6 ns
154.4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
sort_unstable
crates/divan_compat/examples/benches/sort.rs::sorted
CodSpeed Performance Gauge
+19%
130.6 µs
*
109.9 µs
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
+15%
225 ns
195.8 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
+15%
225 ns
195.8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
small_drop
crates/criterion_compat/benches/criterion_integration/iter_with_large_drop.rs::benches::small_drop::iter_with_large_drop
CodSpeed Performance Gauge
-13%
46 ns
*
53 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iterative[5]
crates/divan_compat/examples/benches/math.rs::fibonacci
CodSpeed Performance Gauge
-13%
7 ns
*
8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_with_setup
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+11%
40 ns
*
36 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
iter_batched_ref_per_iteration
crates/criterion_compat/benches/criterion_integration/measurement_overhead.rs::benches::some_benchmark::overhead
CodSpeed Performance Gauge
+11%
40 ns
*
36 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
generate_combinations[9]
crates/divan_compat/examples/benches/the_algorithms.rs::backtracking
CodSpeed Performance Gauge
-10%
5.6 µs
*
6.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instant
crates/divan_compat/examples/benches/time.rs::now
CodSpeed Performance Gauge
-9%
305.3 ns
334.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
system_time
crates/divan_compat/examples/benches/time.rs::now
CodSpeed Performance Gauge
-9%
305.3 ns
334.4 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
system_time
crates/divan_compat/examples/benches/time.rs::duration_since
CodSpeed Performance Gauge
+8%
13 ns
*
12 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
process_with_multiple_counters
crates/divan_compat/examples/benches/counters.rs::multiple_counters_examples
CodSpeed Performance Gauge
-8%
45 ns
*
49 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
-7%
371.7 ns
400.8 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem_decimal[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
-7%
256 ns
*
274 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem[16384]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
+6%
988 ns
*
928 ns
Uses the
Wall Time instrument
to collect wall time performance metrics.
from_elem[2048]
crates/criterion_compat/benches/criterion_integration/with_inputs.rs::benches::from_elem
CodSpeed Performance Gauge
-6%
246 ns
*
261 ns
1
2
3
4
5
...
16
Commits
Click on a commit to change the comparison range
Base
main
03f528f
-32.66%
feat: rename instrumentation to simulation
8e5ffb4
11 months ago
by GuillaumeLagrange
+2.71%
ci: stop using @moonrepo/setup-rust for cache
9181bce
11 months ago
by GuillaumeLagrange
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs