MarshalX
python-libipld
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Optimize DAG-CBOR encode/decode and CAR block parsing
#104
Merged
Comparing
optimize-encode-decode
(
341f165
) with
main
(
2163f07
)
CodSpeed Performance Gauge
+18%
Improvement
31
Regression
1
Untouched
160
This report only contains results for the
CPU Simulation
instrument. To view results for the
Wall Time
instrument,
click here
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
192 total
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
-18%
6.5 ms
8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode_real_data[citm_catalog.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+79%
14.6 ms
8.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode_real_data[github.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+48%
611.7 µs
412.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip09.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+42%
19.1 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode_real_data[twitter.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+40%
5.4 ms
3.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip10.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+40%
19.3 µs
13.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip07.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+25%
15 µs
12 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip05.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+22%
14.9 µs
12.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip06.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+17%
13.2 µs
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip03.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+17%
14.2 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode_real_data[canada.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+16%
14.2 ms
12.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip01.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
14 µs
12.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip20.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
14.3 µs
12.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip08.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+15%
15.1 µs
13.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip04.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
15 µs
13.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip22.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
14.3 µs
12.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip26.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
14.3 µs
12.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip02.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
16 µs
14 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip12.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
15.2 µs
13.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip21.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
14.3 µs
12.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip25.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
14.3 µs
12.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip11.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+14%
14.9 µs
13.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip15.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+13%
14.8 µs
13.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip17.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+13%
15.7 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip27.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+13%
14.2 µs
12.6 µs
1
2
3
4
5
...
8
Commits
Click on a commit to change the comparison range
Base
main
2163f07
+18.21%
Optimize DAG-CBOR encode/decode and CAR block parsing
1059358
2 months ago
by MarshalX
-0.24%
Fix clippy
341f165
2 months ago
by MarshalX
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs