Skip to content

Benchmark time spent in GIL and GC #248

@gjoseph92

Description

@gjoseph92

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions