GIL-Free Performance: Single-Thread Overhead & ABI Changes

The experimental GIL-free build of Python 3.13 introduces a performance overhead of approximately 10-15% for single-threaded workloads compared to the GIL-enabled build, due to the necessary thread-safe reference counting and other per-object operations. This architectural shift also means the free-threaded build is not ABI-compatible with the standard build, requiring C extensions to be rebuilt and distributed with a separate 't' ABI tag.

Sources

Open the full topic