cpython icon indicating copy to clipboard operation
cpython copied to clipboard

asyncio performance improvements for 3.15

Open kumaraditya303 opened this issue 3 months ago • 1 comments

Issue for tracking performance improvements I plan to work on for 3.15.

  • build _asyncio as static module for faster tls access https://github.com/python/cpython/issues/136669
  • add fastpath for current running loop in asyncio.all_tasks under free-threading https://github.com/python/cpython/pull/140542
  • stream line thread state access in asyncio https://github.com/python/cpython/pull/142742

Linked PRs

  • gh-140542
  • gh-142742

kumaraditya303 avatar Oct 21 '25 10:10 kumaraditya303

@kumaraditya303 do you have more planned improvements as part of this issue, or is it good to close now?

itamaro avatar Jan 04 '26 22:01 itamaro

do you have more planned improvements as part of this issue, or is it good to close now?

No, it is good to close now.

kumaraditya303 avatar Jan 05 '26 16:01 kumaraditya303