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--1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
18.2 µs15.2 µs
test_dag_cbor_decode_fixtures[int-2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.5 µs14.5 µs
test_dag_cbor_decode_fixtures[float-82497.63712086187]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.7 µs14.7 µs
test_dag_cbor_decode_fixtures[float-8.940696716308594e-8]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.7 µs14.7 µs
test_dag_cbor_decode_fixtures[int--256]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
18.2 µs15.2 µs
test_dag_cbor_decode[roundtrip05.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
21.1 µs17.6 µs
test_dag_cbor_decode_fixtures[array-empty]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.7 µs14.8 µs
test_dag_cbor_decode_fixtures[int--100]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
18.1 µs15.1 µs
test_dag_cbor_decode_fixtures[float--1e-323]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.6 µs14.7 µs
test_dag_cbor_decode_fixtures[float-1.1111111111111112]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
18.7 µs15.6 µs
test_dag_cbor_decode_fixtures[int--501]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
18.2 µs15.2 µs
test_dag_cbor_decode_fixtures[float-1.1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.7 µs14.8 µs
test_dag_cbor_decode_fixtures[float-0.9999999999999999]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+20%
17.6 µs14.7 µs
test_dag_cbor_decode_fixtures[int--3]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
18.2 µs15.2 µs
test_dag_cbor_decode[roundtrip06.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
17.7 µs14.8 µs
test_dag_cbor_decode_fixtures[array-3,4,5,6]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
19.5 µs16.3 µs
test_dag_cbor_decode_fixtures[float--8.940696716308594e-8]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
17.6 µs14.7 µs
test_dag_cbor_decode_fixtures[float-array_of_specials]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
20.6 µs17.3 µs
test_dag_cbor_decode_fixtures[int-18446744073709551615]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
18.3 µs15.3 µs
test_dag_cbor_decode_fixtures[float--0.5]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
17.6 µs14.8 µs
test_dag_cbor_decode_fixtures[int--11959030306112471732]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
18.7 µs15.7 µs
test_dag_cbor_decode_fixtures[int-9223372036854775807]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
18.2 µs15.3 µs
test_dag_cbor_decode_fixtures[int-2784428723]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+19%
18.1 µs15.3 µs
test_dag_cbor_decode_fixtures[int-11959030306112471731]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+18%
18.2 µs15.3 µs
test_dag_cbor_decode_fixtures[int--9223372036854775808]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+18%
18.6 µs15.8 µ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