-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Clumsy dispatching on interpreter entry. #89041
Comments
On entering the interpreter (_PyEval_EvalFrameDefault) we need to check for tracing in order to record the call. |
FYI, PR27727 ("Remove loop...") seems to be a bit slower than the previous commit (f08e6d1) on my Windows build (msvc14.29.16.10). pyperformance shows that Windows x64 PGO: 34 slower, 11 faster, 13 not significant, Geometric mean: 1.02x slower Undoing PR27727 on current cpython-main branch also get speed-ups by 1-2% on average. |
I'm somewhat surprised by that. After all, the only change in control flow was the change from a break to a goto in exception handling. There are a few possibilities, including:
I suspect that it is (1), but this is a bit worrying nonetheless. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: