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[dagpb_Data_some]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+25%
23.1 µs18.5 µs
test_dag_cbor_decode_fixtures[garbage-21]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+25%
30.2 µs24.1 µs
test_dag_cbor_decode_fixtures[bytes-empty]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+25%
18.3 µs14.6 µs
test_dag_cbor_decode_fixtures[dagpb_simple_forms_1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+25%
23.1 µs18.5 µs
test_dag_cbor_decode_fixtures[string-\u6c34]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+24%
20.8 µs16.7 µs
test_dag_cbor_decode_fixtures[dagpb_Data_zero]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+24%
22.8 µs18.4 µs
test_dag_cbor_decode_fixtures[dagpb_empty]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+23%
21.7 µs17.6 µs
test_dag_cbor_decode_fixtures[string-\u010caues \xdfv\u011bte!]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+23%
20.9 µs16.9 µs
test_dag_cbor_decode_fixtures[string-\U00010151]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+23%
20.7 µs16.8 µs
test_dag_cbor_decode_fixtures[array-mixed]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+22%
26.2 µs21.6 µs
test_dag_cbor_decode_fixtures[null]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.4 µs14.4 µs
test_dag_cbor_decode_fixtures[true]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.5 µs14.4 µs
test_dag_cbor_decode_fixtures[float-1e-323]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.8 µs14.7 µs
test_dag_cbor_decode_fixtures[int-65535]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.8 µs14.7 µs
test_dag_cbor_decode_fixtures[int-255]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.7 µs14.6 µs
test_dag_cbor_decode_fixtures[false]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.4 µs14.4 µs
test_dag_cbor_decode_fixtures[int-500]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.7 µs14.7 µs
test_dag_cbor_decode_fixtures[int-0]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.5 µs14.5 µs
test_dag_cbor_decode_fixtures[float-0.5]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.7 µs14.7 µs
test_dag_cbor_decode_fixtures[int-65536]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+21%
17.8 µs14.8 µs
test_dag_cbor_decode_fixtures[int-1000000]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.7 µs14.7 µs
test_dag_cbor_decode_fixtures[map-empty]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.6 µs14.7 µs
test_dag_cbor_decode[roundtrip07.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.6 µs14.6 µs
test_dag_cbor_decode_fixtures[float--1.1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.8 µs14.8 µs
test_dag_cbor_decode_fixtures[float--0.9999999999999999]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.7 µs14.7 µ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