Open Bug 1381425 Opened 6 years ago Updated 6 days ago

use HTTP OMT data delivery while loading CSS stylesheet

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

Performance Impact ?
Tracking Status
firefox57 --- wontfix

People

(Reporter: schien, Unassigned)

Details

layout/style/Loader use nsUnicharStreamLoader to load entire stylesheet before parsing. In order to utilize HTTP off-main-thread data delivery, we might be able to make nsUnicharStreamLoader to redirect ODA to stream transport thread pool.

https://searchfox.org/mozilla-central/rev/01d27fdd3946f7210da91b18fcccca01d7324fe2/layout/style/Loader.cpp#1720
Priority: -- → P3
To be noticed that Stylo uses https://searchfox.org/mozilla-central/source/layout/style/StreamLoader.cpp to load the stylesheet. We'll need to make it OMT ODA capable as well.
Severity: normal → S3
Performance Impact: --- → ?

:jesup, could you elaborate on why the performance impact was set to ? ? Is there a blocker bug that could provide more context?

Flags: needinfo?(rjesup)

This should move CSS loading Off MainThread, which should help pageload and/or responsiveness during pageload.

Flags: needinfo?(rjesup)
You need to log in before you can comment on or make changes to this bug.