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

Benchmark time spent in GIL and GC #248

Open
gjoseph92 opened this issue Aug 16, 2022 · 0 comments
Open

Benchmark time spent in GIL and GC #248

gjoseph92 opened this issue Aug 16, 2022 · 0 comments

Comments

@gjoseph92
Copy link
Contributor

It would be valuable to measure what percentage of worker time is spent blocked on the GIL, and in GC. There is plenty of discussion about the performance impact of both of these beloved Python features, so having hard numbers to measure them would be valuable:

I think it would be possible to get the GIL percentage from py-spy out of the box. GC support is in progress benfred/py-spy#389.

Not something we'd take on immediately, just an idea for a useful thing to measure in the future for things like dask/distributed#6889.

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