Closed Bug 652808 Opened 9 years ago Closed 2 years ago
Avoid loading, during startup, images that don't appear on UI
I have to verify my benchmark, but I apparently gain between 1 and 2 % on warm startup by only avoiding a very few of these images, namely: chrome://browser/skin/Go-arrow.png chrome://browser/skin/places/toolbarDropMarker.png chrome://browser/skin/tabbrowser/tabDragIndicator.png chrome://browser/skin/tabbrowser/tab-overflow-border.png chrome://browser/skin/Toolbar-small.png
(In reply to comment #1) > I have to verify my benchmark, but I apparently gain between 1 and 2 % on warm > startup I should verify my math, too, that was between 2 and 4 % (between 10 and 20ms off 500ms).
So how do you avoid loading these images during startup?
Component: General → Theme
QA Contact: general → theme
Let's not pretend I'm working on this :) This seems to still be true 6 years later, though. At least for chrome://browser/skin/tabbrowser/tabDragIndicator.png and chrome://browser/skin/places/toolbarDropMarker.png. Florian, is this something you'd like to look at?
Assignee: mh+mozilla → nobody
(In reply to Mike Hommey [:glandium] from comment #4) > Let's not pretend I'm working on this :) > This seems to still be true 6 years later, though. At least for > chrome://browser/skin/tabbrowser/tabDragIndicator.png and > chrome://browser/skin/places/toolbarDropMarker.png. > > Florian, is this something you'd like to look at? In bug 1363059 johannh put in place an automated test to track these images (browser/base/content/test/performance/browser_startup_images.js). This should ensure the list shrinks.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1363059
You need to log in before you can comment on or make changes to this bug.