paradigmxyz
reth
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(net): convert Bytes to BytesMut to avoid reallocation
#19204
Merged
Comparing
robinsdan:main
(
b453779
) with
main
(
e810df9
)
CodSpeed Performance Gauge
0%
Untouched
77
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
77 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 100 | num updates 5]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+4%
44.1 ms
42.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 100 | num updates 10]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+3%
85.8 ms
83.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 1% | depth 4
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
+2%
11.4 ms
11.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 1000 | num updates 10]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
251.6 ms
248.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 1000 | num updates 5]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
126.2 ms
124.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 1000 | num updates 3]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
75.9 ms
75.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 0.1% | depth 5
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
-1%
1 ms
1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 100 | num updates 1]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
2.5 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 0.1% | depth 2
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
+1%
3.4 ms
3.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 0.1% | depth 1
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
+1%
3.6 ms
3.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 1000 | num updates 1]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
5.6 ms
5.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 100 | num updates 3]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
26.5 ms
26.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix set | size: 10 | `BTreeSet` with `Iterator:any` lookup
crates/trie/common/benches/prefix_set.rs::prefix_set::prefix_set_lookups::Prefix Set Lookups
CodSpeed Performance Gauge
+1%
3.9 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 0.1% | depth 0
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
+1%
3.6 ms
3.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 0.1% | depth 4
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
+1%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
size 100000 | updated 1% | depth 5
crates/trie/sparse/benches/rlp_node.rs::rlp_node::update_rlp_node_level::update rlp node level
CodSpeed Performance Gauge
+1%
8.2 ms
8.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 100 | num updates 5]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
12.1 ms
12 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 100 | num updates 10]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
24.1 ms
24 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prefix set | size: 10 | `BTreeSet` with `BTreeSet:range` lookup
crates/trie/common/benches/prefix_set.rs::prefix_set::prefix_set_lookups::Prefix Set Lookups
CodSpeed Performance Gauge
-1%
5.1 µs
5.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 1000 | num updates 5]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
+1%
28.1 ms
27.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 1000 | num updates 3]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
0%
16.9 ms
16.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 1000 | update size 1000 | num updates 10]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
0%
55.8 ms
55.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sparse trie[init size 1000 | update size 1000 | num updates 1]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
0%
5.1 ms
5.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hash builder[init size 10000 | update size 1000 | num updates 1]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves_repeated::calculate root from leaves repeated
CodSpeed Performance Gauge
0%
25.8 ms
25.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sparse trie[1000]
crates/trie/sparse/benches/root.rs::root::calculate_root_from_leaves::calculate root from leaves
CodSpeed Performance Gauge
0%
5.7 ms
5.7 ms
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
e810df9
+0.27%
perf(net): convert Bytes to BytesMut can avoid reallocation
b453779
10 months ago
by robinsdan
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs