Open
Bug 2011397
Opened 7 months ago
Updated 6 months ago
CookieService::GetCookieStringFromHttp is very inefficient
Categories
(Core :: Networking: Cookies, enhancement, P2)
Core
Networking: Cookies
Tracking
()
NEW
People
(Reporter: valentin, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-triaged] [necko-priority-next])
Attachments
(1 file)
See https://share.firefox.dev/4b2neki
It seems CookieService::GetCookieStringFromHttp calls into CookieJarSettings::CookiePermission via 3 different code paths, and consumes 26% of time spent on the main thread.
ThirdPartyUtil::AnalyzeChannelmozilla::StoragePrincipalHelper::GetOriginAttributesmozilla::net::CookieService::GetCookiesForURI
Bug 2009490 optimizedBasePrincipal::EqualsForPermission, but that GetCookieStringFromHttp is still slow.
I think we should be able to create the cookiePermission just once, and pass it into these functions.
| Reporter | ||
Comment 1•6 months ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•