-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable PyO3 "gil refs" feature #1085
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1085 +/- ##
==========================================
+ Coverage 90.21% 90.46% +0.25%
==========================================
Files 106 106
Lines 16339 16716 +377
Branches 36 36
==========================================
+ Hits 14740 15122 +382
+ Misses 1592 1587 -5
Partials 7 7
Continue to review full report in Codecov by Sentry.
|
CodSpeed Performance ReportMerging #1085 will improve performances by 30.63%Comparing Summary
Benchmarks breakdown
|
a35a7c1
to
0deecb4
Compare
d349099
to
1995f08
Compare
850d415
to
1e05b99
Compare
273abc3
to
c224371
Compare
bfdaf67
to
9214eb5
Compare
48b1e48
to
3a59a0f
Compare
(please forgive the direct pings here) We're keen to move ahead with this here on pydantic-core to improve performance and segmentation faults, but are aware that depending on a git branch of PyO3 may cause headaches for distro packaging teams. So, the question I wanted to ask you, is it good enough for Fedora and Gentoo packaging if we release a PyO3 0.21 beta and depend on that in Hopefully this situation would be temporary while PyO3 0.21 development finishes, at most a month... |
Dependencies on git branches / commits are very awkward and annoying to deal with for us in Fedora - though technically possible (basically, we would need to vendor pyo3, since our build environment has no internet access). Using a pre-release (like 0.21.0-beta.1) on the other hand would fit into our normal workflows - other than the fact that we normally don't package pre-releases unless really necessary. |
Thanks, I will likely seek blessing from fellow PyO3 maintainers to do a prerelease in that case. |
If by git repository, you mean the thing that has |
89ceb4e
to
0de257c
Compare
3229fe8
to
bfdb9af
Compare
Merged in #1222 |
Change Summary
Attempt to port to the upcoming PyO3 API as a way to gain performance boosts here.
Still a long way to go, I'll force-push as I go and I suggest not reviewing until this is near the end, as there will be a lot of temporary churn 😂
Related issue number
N/A
Checklist
pydantic-core
(except for expected changes)