Avatar for the MarshalX user
MarshalX
python-libipld
BlogDocsChangelog

Replace deprecated Rust crate `libipld` with `cbor4ii`

#80Merged
Comparing
vmx:remove-libipld
(
466425c
) with
main
(
4951fac
)
CodSpeed Performance Gauge
×2.5
Improvement
161
Untouched
31

Benchmarks

192 total
test_dag_cbor_decode_fixtures[map-keysort]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+32%
29.6 µs22.4 µs
test_dag_cbor_decode_fixtures[dagpb_1link]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+32%
27.3 µs20.7 µs
test_dag_cbor_decode_fixtures[garbage-10]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+31%
38.3 µs29.2 µs
test_dag_cbor_decode_fixtures[ipns]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+30%
26.1 µs20.1 µs
test_dag_cbor_decode_fixtures[map-1_pair_rev]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+30%
20.6 µs15.9 µs
test_dag_cbor_decode_fixtures[garbage-13]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+29%
24.5 µs19 µs
test_dag_cbor_decode_fixtures[bytes-long-8bit]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+29%
20.4 µs15.8 µs
test_dag_cbor_decode_fixtures[string-a]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+29%
19 µs14.7 µs
test_dag_cbor_decode_fixtures[garbage-23]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+29%
35.6 µs27.6 µs
test_dag_cbor_decode_fixtures[cid-bafkqabiaaebagba]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+29%
20.7 µs16.1 µs
test_dag_cbor_decode_fixtures[garbage-12]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+28%
32.3 µs25.2 µs
test_dag_cbor_decode_fixtures[string-long-8bit]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+28%
20.4 µs16 µs
test_dag_cbor_decode_fixtures[cid-z8mWaJ1dZ9fH5EetPuRsj8jj26pXsgpsr]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+28%
20.6 µs16.1 µs
test_dag_cbor_decode_fixtures[array-5-nested]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+28%
25.2 µs19.8 µs
test_dag_cbor_decode_fixtures[bytes-a1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+28%
18.7 µs14.6 µs
test_dag_cbor_decode_fixtures[map-1_pair]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+27%
20.2 µs15.9 µs
test_dag_cbor_decode_fixtures[string-empty]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+26%
18.5 µs14.7 µs
test_dag_cbor_decode_fixtures[string-Hello world!]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+26%
19.7 µs15.6 µs
test_dag_cbor_decode[roundtrip09.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+26%
21.8 µs17.4 µs
test_dag_cbor_decode[roundtrip10.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+25%
22.5 µs18 µs

Commits

Click on a commit to change the comparison range
Base
main
4951fac
-26.07%
Remove libipld dependency
9344dc9
9 months ago
by vmx
×2.8
Lazily evaluate error
828a12c
8 months ago
by vmx
+0.03%
Use latest unreleased cbor4ii for now
10005c6
8 months ago
by vmx
Don't double validate strings
d532235
8 months ago
by vmx
×2.7
Merge branch 'main' into remove-libipld
d8be9fa
8 months ago
by MarshalX
-0.05%
Use Rust's BufWriter
42842b0
8 months ago
by vmx
-0.41%
Merge branch 'main' into remove-libipld
b64c304
8 months ago
by MarshalX
-0.03%
Use released version of cbor4ii
0fcb09b
8 months ago
by vmx
+0.06%
Merge branch 'main' into remove-libipld
f535999
8 months ago
by MarshalX
+0.11%
Fix Clippy warnings
3fcae6e
8 months ago
by vmx
+0.09%
Merge branch 'main' into remove-libipld
466425c
8 months ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs