Series

The free-threaded build

What removing the interpreter lock buys, what it costs, what it breaks and which dial it detaches — measured on two builds of one CPython version.

In reading order · 2 entries

  1. Part 1

    Eight Threads Scale 4.42x or 7.66x, and Nothing In Between

    On the free-threaded build the same binary scales eight CPU-bound threads to between 4.42x and 7.66x across seven runs. On the GIL build the same row is 0.96x.

  2. Part 2

    Free Threading Costs One Thread Between 0.98x and 1.37x

    The quoted single-threaded overhead is 5 to 10%. Measured operation by operation on one version's two builds, it runs from nothing on an attribute write to 37% on a sum.

Arrow keys to move, Enter to open.