Skip to content

Investigate GIL monitoring #6391

@martindurant

Description

@martindurant

Is it possible to measure GIL locking and contention? It would be a very useful diagnostic so that users can decide between threads and processes, and otherwise fine GIL-unfriendly parts of they code.

This is a pie-in-the-sky wish, I don't know how you would do it (one attempt using linux LD_PRELOAD https://github.com/chrisjbillington/gil_load )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions