MarshalX
python-libipld
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Optimize CAR decoding by reducing allocations
#90
Merged
Comparing
test-no-cid-alloc
(
ffd5594
) with
main
(
b0a757b
)
CodSpeed Performance Gauge
0%
Untouched
192
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
192 total
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
+8%
804.2 µs
742.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_11unnamedlinks+data]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-5%
36.2 µs
38.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_torture_cids
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
36.1 ms
37.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip25.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-4%
24.5 µs
25.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decode_car
pytests/test_decode_car.py
CodSpeed Performance Gauge
+3%
487.5 ms
472.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip13.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
17.4 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-06]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-3%
29.7 µs
30.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip03.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
16.6 µs
16.2 µ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
-3%
5.4 ms
5.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-00]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
41.1 µs
42 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip20.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
16.3 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-03]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
41.9 µs
42.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip10.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
22.5 µs
22.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[float-0.5]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
14.2 µs
14.4 µs
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
+1%
596.3 µs
588.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_simple_forms_2]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
23.4 µs
23.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_simple_forms_3]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
23.3 µs
23.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-22]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
39.6 µs
40 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip18.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
17 µs
16.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[float-1.1]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
14.2 µs
14.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-13]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
18.5 µs
18.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-24]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
28.7 µs
28.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[cid-arrayof]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
22.7 µs
22.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-10]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
29 µs
28.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-01]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-1%
22.6 µs
22.8 µs
1
2
3
4
5
...
8
Commits
Click on a commit to change the comparison range
Base
main
b0a757b
-0.15%
Test alloc avoiding in CAR decoder for CIDs
ffd5594
8 months ago
by MarshalX
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs