Avatar for the MarshalX user
MarshalX
python-libipld
BlogDocsChangelog

Fix decoding of infinities and NaNs according to specs

#62Merged
Comparing
fix-infs-and-nans
(
03f25a8
) with
main
(
55edcd2
)
CodSpeed Performance Gauge
-1%
Untouched
192

Benchmarks

192 total
test_dag_cbor_encode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+8%
661.4 µs611.2 µs
test_dag_cbor_decode_fixtures[float--8.940696716308594e-8]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
14.7 µs15.4 µs
test_dag_cbor_decode_fixtures[int--11959030306112471732]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
15.6 µs16.3 µs
test_dag_cbor_decode_fixtures[int--256]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
15.6 µs16.2 µs
test_dag_cbor_decode_fixtures[cid-QmQg1v4o9xdT3Q14wh4S7dxZkDjyZ9ssFzFzyep1YrVJBY]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
19 µs19.7 µs
test_dag_cbor_decode_fixtures[array-65536]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
17.2 µs17.7 µs
test_dag_cbor_decode_fixtures[map-1_pair]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
17 µs17.6 µs
test_dag_cbor_decode_torture_cids
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
72 ms69.9 ms
test_dag_cbor_decode_fixtures[cid-QmRgutAxd8t7oGkSm4wmeuByG6M51wcTso6cubDdQtuEfL]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
19.7 µs19.2 µs
test_dag_cbor_decode_fixtures[map-nested]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
24 µs23.4 µs
test_dag_cbor_decode[roundtrip26.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
17.3 µs17.7 µs
test_dag_cbor_decode_fixtures[float-0.5]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15.1 µs15.4 µs
test_dag_cbor_decode_fixtures[int-65535]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15.7 µs16 µs
test_dag_cbor_decode_fixtures[int--9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
16.1 µs16.4 µs
test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
61.8 µs60.8 µs
test_dag_cbor_decode_fixtures[int-0]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15 µs15.2 µs
test_dag_cbor_decode_fixtures[int--2784428724]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
16.1 µs16.4 µs
test_dag_cbor_decode[roundtrip22.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
16.9 µs17.2 µs
test_dag_cbor_decode_fixtures[int-11959030306112471731]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15.7 µs15.9 µs
test_dag_cbor_decode_fixtures[array-mixed]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
25.7 µs26.1 µs
test_dag_cbor_decode_fixtures[int-18446744073709551615]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15.7 µs15.9 µs
test_dag_cbor_decode_fixtures[int-255]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15.1 µs15.4 µs
test_decode_car
pytests/test_decode_car.py
CodSpeed Performance Gauge
+2%
705.9 ms694.7 ms
test_dag_cbor_decode_fixtures[int--9007199254740992]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
16.2 µs16.5 µs

Commits

Click on a commit to change the comparison range
Base
main
55edcd2
-0.6%
Fix decoding of infinities and NaNs according to specs
03f25a8
1 year ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs