moreal
bencodex-rs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Migrate to Copy-on-Write (Cow) for zero-copy decoding support
#40
Merged
Comparing
copy-on-write
(
2e02f33
) with
main
(
5bcb841
)
CodSpeed Performance Gauge
×3.5
Improvement
4
Untouched
6
New
3
Skipped
4
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
New
Untouched
Skipped
4 total
Archive selected
The benchmarks below were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
encode null
benches/encode.rs::benches::encode
Skipped
397.8 ns
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
encode boolean (false)
benches/encode.rs::benches::encode
Skipped
429.4 ns
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
encode boolean (true)
benches/encode.rs::benches::encode
Skipped
429.4 ns
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
encode bigint (9223372036854775807)
benches/encode.rs::benches::encode
Skipped
3.8 µs
*
Commits
Click on a commit to change the comparison range
Base
main
5bcb841
-14%
Migrate to Copy-on-Write (Cow) for zero-copy decoding support
0219b83
7 months ago
by moreal
×3.7
Avoid into_owned() tree rebuild in Decode for Vec<u8>
2e02f33
7 months ago
by moreal
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs