Open Bug 1354562 Opened 8 years ago Updated 2 years ago

Consider moving some <style> elements to separate sheets

Categories

(Firefox :: Theme, defect, P4)

defect

Tracking

()

People

(Reporter: enndeakin, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxperf:p5])

Each time a new window is opened, three inline stylesheets (<style> elements with child text instead of a separate uri) are parsed: 1. http://searchfox.org/mozilla-central/source/browser/components/customizableui/content/customizeMode.inc.xul#70 2. http://searchfox.org/mozilla-central/source/browser/themes/shared/fxa/sync-illustration.svg 3. Some empty style tag loaded somewhere from browser.xul (I haven't found where this is) On my machine this takes about 2/10 of a millisecond. Investigate whether moving these to separate urls would be faster as the post-parsed sheets would be cached.
Flags: qe-verify?
Priority: -- → P2
Whiteboard: [photon-performance]
Priority: P2 → P3
Whiteboard: [photon-performance] → [reserve-photon-performance]
Flags: qe-verify? → qe-verify-
Priority: P3 → P4
Whiteboard: [reserve-photon-performance] → [fxperf]
Whiteboard: [fxperf] → [fxperf:p5]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.