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[roundtrip05.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
17.5 µs17.1 µ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_fixtures[garbage-05]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
43.1 µs42.7 µs
test_dag_cbor_decode_fixtures[garbage-15]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
26.3 µs26.2 µs
test_dag_cbor_decode[roundtrip10.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
17.7 µs17.7 µs
test_dag_cbor_encode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
14.4 ms14.3 ms
test_dag_cbor_decode_fixtures[garbage-24]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
28.9 µs28.8 µs
test_dag_cbor_decode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
20 ms20 ms
test_dag_cbor_decode_fixtures[array-3,4,5,6]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
16 µs16 µs
test_dag_cbor_decode_fixtures[dagpb_Data_some]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
18.2 µs18.1 µs
test_dag_cbor_decode_fixtures[garbage-13]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
18.6 µs18.6 µs
test_dag_cbor_decode_fixtures[cid-mapof]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
32.9 µs32.8 µs
test_dag_cbor_decode_torture_cids
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
37.5 ms37.5 ms
test_dag_cbor_decode[roundtrip20.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
16.5 µs16.5 µs
test_dag_cbor_decode[roundtrip19.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
16.9 µs16.9 µs
test_dag_cbor_decode_fixtures[array-mixed]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
21.3 µs21.3 µs
test_dag_cbor_decode_fixtures[cid-arrayof]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
23.1 µs23.1 µs
test_dag_cbor_decode_fixtures[int--100]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
14.9 µs14.9 µs
test_dag_cbor_decode_fixtures[int--3]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
14.9 µs14.9 µs
test_dag_cbor_decode_fixtures[ipns]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
19.6 µs19.6 µs
test_dag_cbor_decode_fixtures[int--11959030306112471732]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
15.3 µs15.3 µs
test_dag_cbor_decode_real_data[canada.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
0%
40.1 ms40.1 ms

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
2 months ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs