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
> Open PRs that probably resolve these performance issues: aio-libs/aiohttp#7784 aio-libs/aiohttp#7777 aio-libs/aiohttp#7790
I see. But they do not eliminate the need to call URL.origin(), which is also expensive, even when the jar is empty. Would you think that my suggestion is a good idea? If so, I can open a PR.
- Avoid rebuilding the netloc if there is no auth
- Cache the origin so we only build it once as
aiohttp will call `.origin()` often on the same
URL object when auth is enabled
fixes#1174
I see. But they do not eliminate the need to call
URL.origin()
, which is also expensive, even when the jar is empty. Would you think that my suggestion is a good idea? If so, I can open a PR.Originally posted by @Rongronggg9 in aio-libs/aiohttp#7583 (comment)
The text was updated successfully, but these errors were encountered: