MarshalX
python-libipld
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Optimize int encode with direct PyLong digit read
#107
Merged
Comparing
optimize-pylong-int
(
87d86d2
) with
main
(
d2eaf4d
)
CodSpeed Performance Gauge
+12%
Improvement
1
Untouched
191
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
192 total
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
+12%
8.1 ms
7.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip17.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+9%
13.8 µs
12.7 µ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
+9%
13.4 µs
12.3 µ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
+7%
13.1 µs
12.2 µ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
+7%
13.2 µs
12.4 µ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
+7%
13.1 µs
12.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_encode[roundtrip16.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+7%
16.3 µs
15.3 µ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
+6%
13.1 µs
12.3 µs
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
-6%
4.9 ms
5.2 ms
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
+4%
3.8 ms
3.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip24.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
13.1 µs
12.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip25.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+3%
13.2 µs
12.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[string-a]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
11.6 µs
11.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip04.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
-2%
12.2 µs
12.5 µ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.2 µs
13 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[string-long-8bit]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
11.9 µs
11.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[cid-bagcqcera73rupyla6bauseyk75rslfys3st25spm75ykhvgusqvv2zfqtucq]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
12.2 µs
12 µ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
-2%
412.6 µs
419.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode[roundtrip16.json]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
13.2 µs
13 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int-9007199254740991]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
11.2 µs
11 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int-9223372036854775807]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
11.3 µs
11.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[int-11959030306112471731]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
11.3 µs
11.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_Links_Hash_some_Tsize_some]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+2%
17.1 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[dagpb_1link]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
16 µs
15.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dag_cbor_decode_fixtures[cid-bafkreiebzrnroamgos2adnbpgw5apo3z4iishhbdx77gldnbk57d4zdio4]
pytests/test_dag_cbor.py
CodSpeed Performance Gauge
+1%
12.1 µs
11.9 µs
1
2
3
4
5
...
8
Commits
Click on a commit to change the comparison range
Base
main
d2eaf4d
+12.33%
Optimize int encode with direct PyLong digit read
87d86d2
1 month ago
by MarshalX
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs