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_torture_cids
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
×2.5
91.7 ms36 ms
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+98%
13 ms6.6 ms
test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+74%
66.5 µs38.2 µs
test_dag_cbor_decode_fixtures[cid-mapof]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+71%
56.1 µs32.8 µs
test_dag_cbor_decode_fixtures[cid-arrayof]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+71%
39.7 µs23.3 µs
test_decode_car
pytests/test_decode_car.py
CodSpeed Performance Gauge
+67%
811.1 ms487 ms
test_dag_cbor_decode_fixtures[dagpb_7unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+65%
51.3 µs31.1 µs
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+65%
1,219.6 µs740 µs
test_dag_cbor_decode_fixtures[dagpb_4namedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+57%
42.9 µs27.3 µs
test_dag_cbor_decode_fixtures[garbage-24]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+47%
42.3 µs28.8 µs
test_dag_cbor_decode_fixtures[garbage-22]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+45%
58.1 µs40.1 µs
test_dag_cbor_decode_fixtures[garbage-15]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+45%
38.5 µs26.6 µs
test_dag_cbor_decode_fixtures[garbage-03]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+44%
62.9 µs43.6 µs
test_dag_cbor_decode_fixtures[garbage-01]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+43%
33.3 µs23.2 µs
test_dag_cbor_decode_fixtures[garbage-02]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+42%
72.6 µs50.9 µs
test_dag_cbor_decode_fixtures[garbage-18]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+42%
60.7 µs42.8 µs
test_dag_cbor_decode_fixtures[garbage-05]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+41%
60.8 µs43.1 µs
test_dag_cbor_decode_fixtures[garbage-17]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+40%
51.8 µs37 µs
test_dag_cbor_decode_fixtures[garbage-07]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
48.1 µs34.5 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_4]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
31.5 µs22.6 µs
test_dag_cbor_decode_fixtures[garbage-11]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
79.5 µs57.1 µs
test_dag_cbor_decode_fixtures[garbage-19]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
40.4 µs29.1 µs
test_dag_cbor_decode_fixtures[garbage-08]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
37.2 µs26.8 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
33 µs23.8 µs
test_dag_cbor_decode_fixtures[garbage-04]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+39%
42.1 µs30.4 µ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