Skip to content

v0.0.12 - Free-threaded event loop scaling

Latest

Choose a tag to compare

@Kludex Kludex released this 28 Aug 12:21
827db37

🧵 Free-threaded event loop scaling

zuvloop 0.0.12 replaces process-wide synchronization with per-loop and per-object locking, allowing independent event loops to run concurrently on free-threaded CPython.

pip install zuvloop==0.0.12
  • Independent loops no longer serialize behind one global lock, improving four-loop throughput scaling from 1.01x to 2.94x (#131).
  • Cross-thread callbacks use a protected per-loop inbox, while callback execution and task context switches remain outside the loop lock (#131).
  • Performance coverage now includes four concurrent event loops, recording the free-threaded scaling baseline alongside asyncio and uvloop (#130, #131).

Full changelog: v0.0.11...v0.0.12