recmo
uint
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: specialize cmp, const_eq, const_is_zero for small sizes
#561
Comparing
DaniPopes:dani/cmp-specialization
(
b89a765
) with
main
(
c147f59
)
CodSpeed Performance Gauge
+13%
Improvement
4
Untouched
382
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
386 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/127/128/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+13%
9.7 ms
8.6 ms
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.
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.
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/2/128/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+5%
4.7 ms
4.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse/hex/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+5%
62.5 µs
59.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse/binary/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+5%
62.5 µs
59.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse/decimal/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+5%
62.5 µs
59.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse/octal/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+5%
62.5 µs
59.6 µs
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/3/128/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
4.3 ms
4.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
root/5/128/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+4%
4.8 ms
4.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
inv_mod/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+3%
6.3 ms
6.1 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
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+3%
96.1 µs
93.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cmp/64
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+3%
108.2 µs
105.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
gt/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
189.4 µs
185.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ge/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
189.4 µs
185.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
le/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
189.4 µs
185.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lt/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
189.4 µs
185.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
log/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
7.4 ms
7.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
log/64
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
1.5 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
reduce_mod/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
578.3 µs
572.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
pow_mod/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
2.4 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
is_zero/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
4.1 µs
4.1 µs
1
2
...
16
Commits
Click on a commit to change the comparison range
Base
main
c147f59
+12.68%
perf: specialize Ord::cmp for small sizes
b89a765
23 hours ago
by DaniPopes
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs