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_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[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_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_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[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[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[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_encode[roundtrip02.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
18.1 µs
17.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[float-array_of_specials]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
16.9 µs
16.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-18]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
43.1 µs
42.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int--11959030306112471732]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
15.4 µs
15.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[garbage-11]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
56.5 µs
56.1 µs
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
+1%
16.9 µs
16.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip10.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
17.6 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Name_zero]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
21.3 µs
21.1 µ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
+1%
14.2 µs
14.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int--3]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
14.8 µs
14.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[ipns]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
19.7 µs
19.6 µ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
+1%
17.2 µs
17.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[array-3,4,5,6]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
15.9 µs
15.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip11.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
17 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[string-\U00010151]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
16.3 µs
16.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip14.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
18.9 µs
18.8 µs
1
2
...
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
3 months ago
by MarshalX
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs