{"library":"gilknocker","type":"library","category":null,"description":"gilknocker is a Python library, with core components implemented in Rust, designed to measure Global Interpreter Lock (GIL) contention in Python applications. It provides a quick and dirty metric by spawning a background thread that periodically attempts to acquire the GIL and records the time taken. This is particularly useful for identifying GIL-bound sections of code without the overhead of a full profiler like `py-spy`. The current version is 0.4.2, and it supports Python 3.9 and newer.","language":"python","status":"active","version":"0.4.2","tags":["performance","profiling","GIL","concurrency","python internals","rust-extension"],"last_verified":"Sun May 24","install":[{"cmd":"pip install gilknocker","imports":["from gilknocker import Knocker"]}],"homepage":null,"github":"https://github.com/milesgranger/gilknocker","docs":null,"changelog":null,"pypi":"https://pypi.org/project/gilknocker/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.6,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/gilknocker/compatibility"}}