recmo
uint
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: use bit shifts for power-of-two formatting
#565
Comparing
DaniPopes:dani/fmt-pow2-fast-paths
(
edd7b13
) with
main
(
c147f59
)
CodSpeed Performance Gauge
×7.7
Improvement
12
Untouched
374
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
386 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/hex/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
×7.7
4,519.7 µs
584.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/octal/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
×3.5
4.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/binary/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
×2.3
5.3 ms
2.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/hex/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+81%
6.4 ms
3.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/hex/512
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+77%
14.4 ms
8.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/hex/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+77%
8 ms
4.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/hex/384
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+77%
11.2 ms
6.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/octal/256
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+19%
8.6 ms
7.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
fmt/octal/512
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
+15%
15.8 ms
13.7 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.3 µ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.
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.
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.7 µ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.
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.
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.
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.
fmt/octal/192
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
6.8 ms
6.8 ms
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%
64.7 ms
64.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
base_convert/512/512/10/be
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
110.2 ms
109.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
from/f64/4096
benches/bench.rs::benches::benches::group
CodSpeed Performance Gauge
0%
46.3 µs
46.3 µs
1
2
...
16
Commits
Click on a commit to change the comparison range
Base
main
c147f59
×7.7
perf: use bit shifts for power-of-two formatting
edd7b13
23 hours ago
by DaniPopes
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs