Preload the nsLayoutStylesheetCache

RESOLVED FIXED in mozilla17

Status

()

Core
Layout
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: cjones, Assigned: cjones)

Tracking

unspecified
mozilla17
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

Fetching the stylesheets takes ~100ms on startup, on the critical path.  Preloading the files knocks off that overhead.
Created attachment 651148 [details] [diff] [review]
WIP
Assignee: nobody → jones.chris.g
Created attachment 651858 [details] [diff] [review]
Prefetch the "built-in" stylesheet cache in content processes

Sorry roc, not sure if there's anyone who knows both the stylesheet cache code and content-process startup.  Let me know if I should ping someone else for review.
Attachment #651148 - Attachment is obsolete: true
Attachment #651858 - Flags: review?(roc)
Attachment #651858 - Flags: review?(roc) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/31c4f7ab45b7

Comment 4

5 years ago
https://hg.mozilla.org/mozilla-central/rev/31c4f7ab45b7
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.