recmo
uint
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: specialize hot paths for common sizes
#559
Closed
Comparing
DaniPopes:dani/perf-optimizations
(
75444af
) with
main
(
c147f59
)
CodSpeed Performance Gauge
-14%
Improvement
81
Regression
1
Untouched
304
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
386 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/2/256/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+13%
11.3 ms
10 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wrapping_shl/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+13%
281.9 µs
248.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/3/192/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+11%
8.4 ms
7.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f32/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+11%
29.2 µs
26.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f64/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+11%
29.4 µs
26.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
most_significant_bits/4096/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+11%
28.9 µs
26.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/3/256/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+10%
11.4 ms
10.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/octal/384
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+9%
12.2 ms
11.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
overflowing_shl/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+9%
346.1 µs
318.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/5/256/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+8%
11.2 ms
10.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/5/192/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+8%
8 ms
7.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/192/64
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
1.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/128/64
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
819.1 µs
763.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce_mod/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
1.1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/128/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
821.4 µs
768.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/256/64
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+6%
1.4 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce_mod/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+6%
1.3 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/192/96
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+6%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/256/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
1.6 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/256/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
1.6 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
neg/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
72.9 µs
70 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/127/256/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
13.7 ms
13.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/127/192/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
18.6 ms
18 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
div_rem/192/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sub/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+3%
96.1 µs
93.1 µs
1
...
3
4
5
...
16
Commits
Click on a commit to change the comparison range
Base
main
c147f59
-29.84%
perf: specialize hot paths for common sizes
52a8393
3 days ago
by DaniPopes
+15.71%
perf: revert cmp U256 specialization, use push_byte in fmt
75444af
3 days ago
by DaniPopes
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs