WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
252045
Default Sheet Parsing can add delays before requesting main resource
https://bugs.webkit.org/show_bug.cgi?id=252045
Summary
Default Sheet Parsing can add delays before requesting main resource
Ahmad Saleem
Reported
2023-02-10 04:10:38 PST
Hi Team, It is just another potential optimisation done in Chrome which I came across and wanted to get input whether similar can be done in WebKit or not: Blink Commit -
https://chromium.googlesource.com/chromium/blink/+/c0aa7538cb054f429822a3f3cc66efe826122b80
WebKit Source -
https://searchfox.org/wubkat/source/Source/WebCore/dom/Document.cpp#6387
___ In local testing, it compiles but had to use 'committedFirstRealDocumentLoad', which in case of Blink also got changed later in another commit (can't find it). I haven't had any metrics to back up whether it works or not but again it is just for discussion on whether something can be done to get faster page loading or it is just placebo using this idea. Keep making WebKit better. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2023-02-15 04:27:38 PST
Process prewarming initializes the UA stylesheet among other things, see ProcessWarming::prewarmGlobally()
Ben Nham
Comment 2
2023-02-15 22:52:07 PST
I don't think this is a priority since we generally load pages into either a prewarmed WebProcess or an existing WebProcess, both of which will have their default stylesheet already parsed at the point of page load.
Radar WebKit Bug Importer
Comment 3
2023-02-17 04:11:16 PST
<
rdar://problem/105592243
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug