Avatar for the MarshalX user
MarshalX
python-libipld
BlogDocsChangelog

Fix panic on encoding map with integer keys

#60Merged
Comparing
fix-panic-int-key
(
55d1c95
) with
main
(
a3b2a64
)
CodSpeed Performance Gauge
-27%
Improvement
5
Regression
4
Untouched
183

Benchmarks

192 total
test_dag_cbor_decode[roundtrip23.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-27%
17 µs23.1 µs
test_dag_cbor_encode[roundtrip04.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-25%
17 µs22.7 µs
test_dag_cbor_encode[roundtrip08.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-25%
17 µs22.6 µs
test_dag_cbor_encode[roundtrip12.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-18%
18.7 µs22.8 µs
test_dag_cbor_encode[roundtrip06.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+35%
21.6 µs16 µs
test_dag_cbor_decode[roundtrip22.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+33%
22.8 µs17.1 µs
test_dag_cbor_encode[roundtrip16.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+30%
22.4 µs17.2 µs
test_dag_cbor_encode[roundtrip25.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+26%
22.3 µs17.6 µs
test_dag_cbor_decode[roundtrip07.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+11%
17 µs15.3 µs
test_dag_cbor_encode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+9%
5.8 ms5.3 ms
test_dag_cbor_encode[roundtrip21.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+9%
18.6 µs17.1 µs
test_dag_cbor_encode_real_data[canada.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+9%
20.2 ms18.5 ms
test_dag_cbor_encode[roundtrip14.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-8%
17.2 µs18.7 µs
test_dag_cbor_decode[roundtrip01.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-7%
16.8 µs18.2 µs
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-6%
996.1 µs1,057.7 µs
test_dag_cbor_encode[roundtrip19.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
17.7 µs18.5 µs
test_dag_cbor_decode_fixtures[int--9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
16.6 µs15.9 µs
test_dag_cbor_encode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
611.1 µs586 µs
test_dag_cbor_decode[roundtrip06.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
15.2 µs15.9 µs
test_dag_cbor_decode_fixtures[garbage-15]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
36.3 µs34.9 µs
test_dag_cbor_decode_fixtures[float-1.1111111111111112]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
15.9 µs15.3 µs
test_dag_cbor_decode[roundtrip21.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
17.7 µs17.1 µs
test_dag_cbor_decode_fixtures[map-nested]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
23.6 µs24.5 µs
test_dag_cbor_decode[roundtrip24.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+4%
17.7 µs17.1 µs
test_dag_cbor_encode[roundtrip15.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
17 µs17.6 µs

Commits

Click on a commit to change the comparison range
Base
main
a3b2a64
-26.57%
Fix panic on encoding map with integer keys
55d1c95
1 year ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs