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[int-6433713753386423]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+18%
18.1 µs15.3 µs
test_dag_cbor_decode_fixtures[int--9007199254740993]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+18%
18.7 µs15.8 µs
test_dag_cbor_decode_fixtures[int--9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+18%
18.7 µs15.8 µs
test_dag_cbor_decode_fixtures[int--2784428724]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+18%
18.6 µs15.8 µs
test_dag_cbor_decode_fixtures[int--9007199254740992]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+17%
18.6 µs15.9 µs
test_dag_cbor_decode_fixtures[int-9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+17%
18 µs15.4 µs
test_dag_cbor_decode[roundtrip23.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+17%
19.7 µs16.8 µs
test_dag_cbor_decode_fixtures[int--6433713753386424]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+17%
18.5 µs15.8 µs
test_dag_cbor_decode[roundtrip03.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+16%
19.2 µs16.6 µs
test_dag_cbor_decode[roundtrip21.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+16%
19.4 µs16.8 µs
test_dag_cbor_decode[roundtrip22.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+16%
19.4 µs16.8 µs
test_dag_cbor_decode[roundtrip25.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+16%
19.5 µs16.8 µs
test_dag_cbor_decode_fixtures[array-2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.1 µs16.6 µs
test_dag_cbor_decode_fixtures[array-255]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.3 µs16.7 µs
test_dag_cbor_decode_fixtures[array-500]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.5 µs16.9 µs
test_dag_cbor_decode_fixtures[array-65536]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.4 µs16.8 µs
test_dag_cbor_decode_fixtures[array-9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.9 µs17.3 µs
test_dag_cbor_decode[roundtrip02.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.1 µs16.6 µs
test_dag_cbor_decode[roundtrip20.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.4 µs16.8 µs
test_dag_cbor_decode[roundtrip26.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.4 µs16.9 µs
test_dag_cbor_decode[roundtrip27.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.5 µs16.9 µs
test_dag_cbor_decode[roundtrip04.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.1 µs16.6 µs
test_dag_cbor_decode[roundtrip18.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.9 µs17.3 µs
test_dag_cbor_decode[roundtrip11.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.8 µs17.2 µs
test_dag_cbor_decode_fixtures[array-6433713753386423]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
19.9 µs17.3 µ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