Avatar for the alloy-rs user
alloy-rs
nybbles
BlogDocsChangelog

perf: improve pack/unpack endian conversions

#55
Comparing
dani/simpler-endian-cvt
(
cebe082
) with
main
(
ff87f1c
)
CodSpeed Performance Gauge
-12%
Regression
2
Untouched
104
Skipped
111

Benchmarks

217 total
pack/16
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-12%
564.9 µs640.2 µs
pack/4
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-10%
584.4 µs651.3 µs
pack/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-6%
603.8 µs642.9 µs
pack/8
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-5%
614.9 µs645.7 µs
pack_to/8
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-4%
904.3 µs940.4 µs
pack_to/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-4%
1.1 ms1.2 ms
pack_to/64
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
-1%
1.5 ms1.5 ms
last/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
299.9 µs299.9 µs
last/8
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
299.9 µs299.9 µs
last/16
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
299.9 µs299.9 µs
last/64
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
299.9 µs299.9 µs
ends_with/8
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
653 µs652.9 µs
ends_with/64
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
678 µs677.9 µs
ends_with/16
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
678 µs677.9 µs
ends_with/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
678 µs677.9 µs
clear/16
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
404.8 µs404.8 µs
clear/64
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
404.8 µs404.8 µs
clear/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
404.8 µs404.8 µs
clear/8
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
404.8 µs404.8 µs
clone/16
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
442.5 µs442.5 µs
clone/64
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
442.5 µs442.5 µs
clone/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
442.5 µs442.5 µs
clone/8
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
442.5 µs442.5 µs
extend/32
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
1 ms1 ms
extend/16
benches/bench.rs::bench::benches::group
CodSpeed Performance Gauge
0%
1 ms1 ms

Commits

Click on a commit to change the comparison range
Base
main
ff87f1c
-11.75%
perf: improve pack/unpack endian conversions
0441f20
4 months ago
by DaniPopes
0%
a
cebe082
4 months ago
by DaniPopes
© 2026 CodSpeed Technology
Home Terms Privacy Docs