Closed Bug 853723 Opened 12 years ago Closed 12 years ago

Settings launches 100 ms slower after landing multi-resolution fix

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rexboy, Assigned: rexboy)

Details

Attachments

(1 file)

This is a follow-up bug of bug 830644. Settings app launches about 100ms slower after landing settings part of multi-resolution fix. It needs 1 second to launch now. See: https://datazilla.mozilla.org/b2g/?branch=master&range=7&test=startup_time&app=settings&app_list=settings&gaia_rev=7202403530d43a3f&gecko_rev=ce5c0b8f9aebdc65
Assignee: nobody → rexboy
This may because responsive.css is attached at bottom of <head>, whwre javascript files is already started to load. also it didn't specify type="text/css". Seems it's faster if I move it up together with other css files (down to 950ms on my phone, very similar to previous commit). Bbut I'm not sure if other reasons exists. All other css changes seems to be safe because most of them apply to lazy-loaded elements when settings app starts.
(In reply to KM Lee [:rexboy] from comment #1) > This may because responsive.css is attached at bottom of <head>, whwre > javascript files is already started to load. I see a good improvement here too when moving the CSS up. Can you try to land that then? Also, could you check all other changes of bug 830644 to check that the new responsive CSS is included above JS files?
Attached file PATCH (deleted) —
Let's try it. Evelyn may you help review it?
Attachment #729389 - Flags: review?(ehung)
(In reply to Anthony Ricaud (:rik) from comment #3) > (In reply to KM Lee [:rexboy] from comment #1) > I see a good improvement here too when moving the CSS up. Can you try to > land that then? Also, could you check all other changes of bug 830644 to > check that the new responsive CSS is included above JS files? Thanks for confirming, I will do double check other PRs inside 830644 then. Some of them already attaches responsive.css at top.
Comment on attachment 729389 [details] PATCH Steeling review to get this landing. Hope you don't mind Evelyn.
Attachment #729389 - Flags: review?(ehung) → review+
Seems it works. Startup time now go back to less than 950ms. Closing the bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: