Skip to content
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

Explore adopting sys.monitoring (from Python 3.12, PEP 669) to accelerate memory profiling #720

Open
emeryberger opened this issue Nov 1, 2023 · 0 comments
Assignees

Comments

@emeryberger
Copy link
Member

Is your feature request related to a problem? Please describe.
Scalene currently uses tracing as part of its memory profiling logic via sys.settrace, which is a source of overhead.

Describe the solution you'd like
Explore an implementation using PEP 669, specifically sys.monitoring, which in principle should enable a lower overhead implementation of the same logic.

@emeryberger emeryberger self-assigned this Nov 1, 2023
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

No branches or pull requests

1 participant