No-GIL Python's Single-Threaded Performance Cost

The `--disable-gil` build, leveraging Biased Reference Counting, introduces a 10-15% slowdown in single-threaded workloads compared to GIL-enabled Python, due to necessary thread-safe reference counting operations. Immortal Objects alone initially showed a ~2% performance regression, which was mitigated to near performance-neutral.

Sources

Open the full topic