MarshalX
python-libipld
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Optimize DAG-CBOR decode by reading `Py_GetRecursionLimit` once per call
#112
Merged
Comparing
optimize-recursion-limit-once-per-call
(
b8c24ae
) with
main
(
d8bee00
)
CodSpeed Performance Gauge
0%
Untouched
200
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
200 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode[github-libipld]
benchmark/test_decode.py
CodSpeed Performance Gauge
+8%
527.8 µs
487.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-21]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
19.2 µs
20.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[canada.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+5%
39.9 ms
38 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode[canada-libipld]
benchmark/test_decode.py
CodSpeed Performance Gauge
+5%
40.1 ms
38.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
5.2 ms
5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode[twitter-libipld]
benchmark/test_decode.py
CodSpeed Performance Gauge
+3%
5.2 ms
5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_torture_cids
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
35.4 ms
34.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
14.4 ms
13.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
501.9 µs
487.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode_car
pytests/test_decode_car.py
CodSpeed Performance Gauge
+3%
367.3 ms
357.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip07.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
11.9 µs
12.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode[citm_catalog-libipld]
benchmark/test_decode.py
CodSpeed Performance Gauge
+2%
14.3 ms
14 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[array-9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
13 µs
13.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[array-6433713753386423]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
13.1 µs
13.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip26.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
12.6 µs
12.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[array-500]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
12.6 µs
12.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int-2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
10.3 µs
10.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int-255]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
10.4 µs
10.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[map-nested]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
15.2 µs
15.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip05.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
13.4 µs
13.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip12.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
13.7 µs
14 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-12]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
21 µs
21.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[array-2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
12.4 µs
12.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[array-255]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
12.5 µs
12.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[bytes-long-8bit]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
11.6 µs
11.8 µs
1
2
3
4
5
...
8
Commits
Click on a commit to change the comparison range
Base
main
d8bee00
-0.4%
Optimize DAG-CBOR decode by reading `Py_GetRecursionLimit` once per call
b8c24ae
18 days ago
by MarshalX
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs