Tags
free-threading
2 posts
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.
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.