-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
Improve performance of sys.settracing based tools. #90081
Comments
In our quest for performance, the performance of sys.settracing based tools has probably gotten worse.
We will initially use coverage.py as proxy for all sys.settracing based tools when measuring performance. The fix is probably to use quickening to insert a minimum set of instrumentation instructions required for tracing/profiling. Ideally, sys.settracing based tools should be faster on 3.11 than 3.10, but at the least we should provide a simple alternative to sys.settracing that is faster. |
It doesn't matter as much as the performance of coverage.py C tracer, but it is still worth investigating. |
There have been some recent improvements in coverage.py for the Python tracing, which might compensate. |
(cherry picked from commit b8b2990) Co-authored-by: Mark Shannon <mark@hotpy.org>
Tools should have moved, or be moving, to using |
RESUME_QUICK
#31244Note: 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: