alloy-rs
ruint
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize bit count helpers
#578
Merged
Comparing
DaniPopes:optimize-bit-counts
(
660aad6
) with
main
(
6711003
)
CodSpeed Performance Gauge
+13%
Improvement
3
Untouched
383
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
386 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f64/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+13%
29.2 µs
25.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f32/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+13%
29.1 µs
25.7 µ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.
parse/binary/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
34.6 µs
32.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse/hex/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
34.6 µs
32.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse/octal/4096/zero
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+7%
34.7 µs
32.5 µ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%
51.7 µs
49.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
neg/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+5%
72.8 µs
69.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
add/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+3%
96 µs
93.2 µs
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.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f32/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
265.1 µs
260.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f64/128
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+2%
277.7 µs
273.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f32/384
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
417.9 µs
412.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f64/384
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
430.5 µs
425 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f32/512
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
490.9 µs
485.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f64/512
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
503.5 µs
498 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f32/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
310.1 µs
307.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
to/f64/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
322.7 µs
319.9 µs
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
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from/f64/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+1%
45.7 µs
45.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/hex/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
588 µs
585.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wrapping_shl/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
71.6 µs
71.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wrapping_shr/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
71.5 µs
71.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
base_convert/384/384/10/be
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
63 ms
62.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from/f32/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
42.8 µs
42.7 µs
1
2
3
4
5
...
16
Commits
Click on a commit to change the comparison range
Base
main
6711003
+13.2%
perf: optimize bit count helpers
1d6abbf
10 days ago
by DaniPopes
0%
test: align leading zero coverage
c71996f
10 days ago
by DaniPopes
0%
test: cover primitive bit count branches
660aad6
10 days ago
by DaniPopes
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs