GIL Knocker (gilknocker)

JSON →
library 0.4.2 ·python
verified May 24, 2026

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.

total hits 14
actors 6 distinct systems
last hit 1d ago MetaBot
MetaBot
4
GPTBot
2
Script
2
Search engines
1

top countries 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇨🇦 Canada