Skip to content

Conversation

@MarshalX
Copy link
Owner

@MarshalX MarshalX commented Jun 20, 2025

closes #61

i will add Python 3.14 once it will be released (in ~october)

@codspeed-hq
Copy link

codspeed-hq bot commented Jun 20, 2025

CodSpeed Performance Report

Merging #63 will improve performances by 36.31%

Comparing update-pyo3 (621a096) with main (5b18a35)

Summary

⚡ 2 improvements
✅ 190 untouched benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
test_dag_cbor_encode_real_data[canada.json] 18.5 ms 13.5 ms +36.31%
test_dag_cbor_encode_real_data[github.json] 616.6 µs 548.2 µs +12.48%

@MarshalX MarshalX changed the title Update PyO3 to 0.25.1; add Python 3.14 support; add PyPy 3.11 support Update PyO3 to 0.25.1; add PyPy 3.11 support Jun 20, 2025
@MarshalX
Copy link
Owner Author

@davidhewitt hi! i am pinging you in case you are interesting to see some perf improvement between 0.23.3 and 0.25.1 (mostly comes from 0.24 i guess)

image

⚡ Huge boost for encoding of canada.json (containing a huge number of 2-element arrays holding floating-point coordinate pairs). Good one! I hope this is not false positive

The decoding is exactly the same. And no other dramatic changes noticed.

@MarshalX MarshalX merged commit f375d8f into main Jun 20, 2025
3 checks passed
@MarshalX MarshalX deleted the update-pyo3 branch June 20, 2025 19:12
@davidhewitt
Copy link

Wow very satisfying, thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade pyo3 0.23.4 -> 0.25.1

3 participants