Avatar for the MarshalX user
MarshalX
python-libipld
BlogDocsChangelog

Fix error handling in CID and ULEB128 processing functions

#96Merged
Comparing
fix-possible-panics
(
90a85fd
) with
main
(
f7c1489
)
CodSpeed Performance Gauge
-11%
Regression
1
Untouched
191

Benchmarks

192 total
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-11%
6.6 ms7.4 ms
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-6%
756.1 µs803.1 µs
test_dag_cbor_encode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
5.4 ms5.5 ms
test_dag_cbor_decode[roundtrip05.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
17.5 µs17.1 µs
test_dag_cbor_decode_fixtures[garbage-16]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
51.6 µs52.9 µs
test_dag_cbor_decode_fixtures[garbage-11]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
55.5 µs56.9 µs
test_dag_cbor_encode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
597.8 µs584.5 µs
test_dag_cbor_decode[roundtrip13.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
17.4 µs17.1 µs
test_dag_cbor_decode[roundtrip08.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
16.1 µs16.4 µs
test_dag_cbor_encode[roundtrip05.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
18.5 µs18.8 µs
test_dag_cbor_decode_fixtures[garbage-20]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
43 µs43.7 µs
test_dag_cbor_decode_fixtures[garbage-07]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
33.8 µs34.3 µs
test_dag_cbor_encode[roundtrip21.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
17.9 µs18.2 µs
test_dag_cbor_decode[roundtrip03.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
16.1 µs16.3 µs
test_dag_cbor_encode[roundtrip26.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
18.7 µs18.9 µs
test_dag_cbor_decode_fixtures[float--1e-323]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
14.2 µs14.4 µs
test_dag_cbor_decode_fixtures[int-65536]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
14.3 µs14.5 µs
test_dag_cbor_decode[roundtrip24.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
16.4 µs16.6 µs
test_dag_cbor_encode[roundtrip06.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
17 µs17.2 µs
test_dag_cbor_encode[roundtrip10.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
22.5 µs22.8 µs
test_dag_cbor_encode[roundtrip01.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
17.6 µs17.8 µs
test_dag_cbor_encode[roundtrip07.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
18.5 µs18.8 µs
test_dag_cbor_decode[roundtrip02.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
16.1 µs16.3 µs
test_dag_cbor_decode_fixtures[int-2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
14 µs14.2 µs
test_dag_cbor_decode_fixtures[int-0]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
14 µs14.2 µs

Commits

Click on a commit to change the comparison range
Base
main
f7c1489
-10.97%
Fix error handling in CID and ULEB128 processing functions
90a85fd
7 months ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs