MarshalX / python-libipld

🏎️ Fast Python library to work with IPLD: DAG-CBOR, CID, CAR, multibase
https://pypi.org/project/libipld/
MIT License
17 stars 2 forks source link

Add Python 3.13 support; drop Python 3.7 support #50

Closed MarshalX closed 3 weeks ago

codspeed-hq[bot] commented 3 weeks ago

CodSpeed Performance Report

Merging #50 will degrade performances by 25.31%

Comparing python-3-13-support (5e6e569) with main (2dd657d)

:tada: Hooray! pytest-codspeed just leveled up to 3.0.0-b4!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability :partying_face:! Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

⚡ 51 improvements ❌ 4 regressions ✅ 137 untouched benchmarks

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main python-3-13-support Change
test_dag_cbor_decode[roundtrip01.json] 18.2 µs 23.2 µs -21.83%
test_dag_cbor_decode[roundtrip02.json] 19 µs 16.7 µs +13.73%
test_dag_cbor_decode[roundtrip03.json] 18.7 µs 16.7 µs +12.25%
test_dag_cbor_decode[roundtrip05.json] 25.1 µs 18.1 µs +39.23%
test_dag_cbor_decode[roundtrip06.json] 17.2 µs 15 µs +14.41%
test_dag_cbor_decode[roundtrip08.json] 18.4 µs 16.7 µs +10.29%
test_dag_cbor_decode[roundtrip09.json] 22 µs 19.2 µs +14.46%
test_dag_cbor_decode[roundtrip18.json] 19.3 µs 17.4 µs +11.07%
test_dag_cbor_decode[roundtrip20.json] 18.7 µs 16.8 µs +11.16%
test_dag_cbor_decode[roundtrip21.json] 18.4 µs 16.7 µs +10.02%
test_dag_cbor_decode[roundtrip22.json] 18.8 µs 16.7 µs +12.8%
test_dag_cbor_decode[roundtrip23.json] 19.5 µs 17.4 µs +12.17%
test_dag_cbor_decode[roundtrip25.json] 18.9 µs 16.8 µs +12.55%
test_dag_cbor_decode[roundtrip26.json] 18.9 µs 16.7 µs +13.18%
test_dag_cbor_decode[roundtrip27.json] 18.8 µs 16.7 µs +12.76%
test_dag_cbor_decode_fixtures[array-5-nested] 25.1 µs 21.9 µs +14.95%
test_dag_cbor_decode_fixtures[array-500] 19.2 µs 17.3 µs +10.97%
test_dag_cbor_decode_fixtures[array-6433713753386423] 19.1 µs 17.3 µs +10.37%
test_dag_cbor_decode_fixtures[array-65536] 19.1 µs 17.2 µs +11.41%
test_dag_cbor_decode_fixtures[array-9007199254740991] 19.1 µs 17.3 µs +10.56%
... ... ... ... ...


:information_source: Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

MarshalX commented 3 weeks ago

upd. can't reproduce locally. no diff (as expected)

~interesting~. py312 vs py313:

bench res