Avatar for the MarshalX user
MarshalX
python-libipld
BlogDocsChangelog

Fix smallest and largest CBOR integer roundtrip

#58Merged
Comparing
fixes-57
(
b7b790a
) with
main
(
0da9f9b
)
CodSpeed Performance Gauge
-1%
Untouched
192

Benchmarks

192 total
test_dag_cbor_decode_fixtures[int--1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-10%
14.9 µs16.5 µs
test_dag_cbor_decode_fixtures[int--3]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-9%
15.1 µs16.6 µs
test_dag_cbor_decode[roundtrip11.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-9%
16.8 µs18.3 µs
test_dag_cbor_decode_fixtures[float-array_of_specials]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-7%
17.5 µs18.9 µs
test_dag_cbor_encode[roundtrip18.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
17.1 µs18 µs
test_dag_cbor_encode[roundtrip17.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
17.1 µs18 µs
test_dag_cbor_encode[roundtrip19.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
18.5 µs19.4 µs
test_dag_cbor_encode[roundtrip16.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
17.2 µs18 µs
test_dag_cbor_encode[roundtrip13.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
17.2 µs18 µs
test_dag_cbor_encode[roundtrip14.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
18.6 µs19.4 µs
test_dag_cbor_encode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
14.2 ms14.8 ms
test_dag_cbor_encode[roundtrip12.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
22.8 µs23.7 µs
test_dag_cbor_decode_fixtures[array-mixed]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
24.7 µs25.7 µs
test_dag_cbor_decode_fixtures[int--9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
15.8 µs16.4 µs
test_dag_cbor_decode_fixtures[int--9007199254740993]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
15.8 µs16.4 µs
test_dag_cbor_decode_fixtures[int--100]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.6 µs16.2 µs
test_dag_cbor_decode_fixtures[int--501]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.7 µs16.2 µs
test_dag_cbor_decode_fixtures[int--9223372036854775808]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.9 µs16.4 µs
test_dag_cbor_decode_fixtures[int--6433713753386424]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.8 µs16.3 µs
test_dag_cbor_decode_fixtures[int--9007199254740992]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.8 µs16.3 µs
test_dag_cbor_decode_fixtures[int--256]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.8 µs16.3 µs
test_dag_cbor_encode[roundtrip15.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
17.5 µs18.1 µs
test_dag_cbor_decode_fixtures[int--2784428724]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
15.8 µs16.3 µs
test_dag_cbor_decode[roundtrip14.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
18.1 µs18.5 µs
test_dag_cbor_decode[roundtrip12.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
17.6 µs18 µs

Commits

Click on a commit to change the comparison range
Base
main
0da9f9b
-26.72%
Fix smallest CBOR integer
151d2c4
1 year ago
by MarshalX
-0.2%
fix largest unsigned int roundtrip
eb544d4
1 year ago
by MarshalX
+25.78%
Merge branch 'main' into fixes-57
b7b790a
1 year ago
by MarshalX
© 2026 CodSpeed Technology
Home Terms Privacy Docs