You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I was profiling the asyncio request path while comparing a couple of HTTP clients.
There are three small bits of work we can avoid without changing the API:
I have these split into three small commits, with regression tests around the behavior-sensitive paths.
Local results from the combined patch:
This was plain HTTP/1.1 on loopback, CPython 3.14.7, stdlib asyncio, pinned server/client CPUs, and five interleaved 2.5-second runs.
These are hot-path numbers, not a claim about TLS, HTTP/2, or WAN performance.
Seems worth a small PR?
All reactions