MarshalX
python-libipld
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Optimize DAG-CBOR map decode with key-intern cache and KnownHash insert
#106
Merged
Comparing
optimize-decode-key-intern-cache
(
f7b0694
) with
main
(
4ea29bb
)
CodSpeed Performance Gauge
+21%
Improvement
14
Untouched
178
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
192 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+54%
8.1 ms
5.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+48%
731.5 µs
494.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode_car
pytests/test_decode_car.py
CodSpeed Performance Gauge
+39%
511.4 ms
367.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
19.9 ms
14.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
33.4 µs
27.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_7unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
27.2 µs
23.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[map-keysort]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
18.2 µs
15.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-18]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
40.1 µs
35.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-03]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+12%
38.8 µs
34.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_4namedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+12%
23.7 µs
21.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-19]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+12%
26.6 µs
23.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_empty]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+12%
13.5 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_Data_zero]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+11%
14.5 µs
13 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[map-1_pair]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+10%
13.2 µs
12 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[cid-mapof]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+10%
27.4 µs
24.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-04]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+10%
26.8 µs
24.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-07]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+9%
30.1 µs
27.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-17]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+9%
32.9 µs
30.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_simple_forms_2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+8%
20.2 µs
18.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[ipns]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+8%
16 µs
14.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_2link+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+8%
20.9 µs
19.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-11]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+8%
54 µs
50.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_simple_forms_3]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+8%
20.1 µs
18.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_simple_forms_4]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+7%
19.3 µs
18.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[map-with_complex_entries]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+7%
27.2 µs
25.6 µs
1
2
3
4
5
...
8
Commits
Click on a commit to change the comparison range
Base
main
4ea29bb
+21.99%
Optimize DAG-CBOR map decode with key-intern cache and KnownHash insert
fa4ee74
1 month ago
by MarshalX
-1.34%
Merge branch 'main' into optimize-decode-key-intern-cache
558ea2b
1 month ago
by MarshalX
+0.82%
suppress clippy
f7b0694
1 month ago
by MarshalX
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs