Closed
Bug 888007
Opened 12 years ago
Closed 12 years ago
[Clock] Lazy load banner view
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(blocking-b2g:-)
RESOLVED
FIXED
| blocking-b2g | - |
People
(Reporter: kgrandon, Assigned: kgrandon)
References
Details
(Keywords: perf, Whiteboard: c= ,p=2)
Attachments
(1 file)
There are yet a few small wins we can have in the clock app. One of these wins would be to lazy load the banner view JS. It appears we only use this when creating an alarm.
| Assignee | ||
Comment 1•12 years ago
|
||
Hi Mike, pretty simple clock patch if you have time. Just moves stuff around. Thanks!
Attachment #768578 -
Flags: review?(mhenretty)
Comment 2•12 years ago
|
||
Good initiative Kevin. Can you quantify the gains, i.e. the ms gained by making these kinds of changes?
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
| Assignee | ||
Comment 3•12 years ago
|
||
Gains here are minor, maybe 5 to 10 ms off the initial startup path. But there are also some steps to split out some other javascript which we should be able to lazy load down the road. I'm looking into it now, but it's likely a larger patch.
Comment 4•12 years ago
|
||
Comment on attachment 768578 [details]
Github pull request pointer
Looks good. Everything still working on my Unagi.
Merged: 163b3c144a3d457a5c7d6def8dd15fc1a139b903
Attachment #768578 -
Flags: review?(mhenretty) → review+
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
Requesting leo+ because an leo+ patch depends on these changes
Blocks: 882751
blocking-b2g: --- → leo?
Comment 6•12 years ago
|
||
(In reply to Rick Waldron from comment #5)
> Requesting leo+ because an leo+ patch depends on these changes
Triage - this is not a blocker for leo as this is not a required 1.1 performance requirement. You should build a branch-specific patch for bug 882751 that does not depend on these changes.
blocking-b2g: leo? → -
You need to log in
before you can comment on or make changes to this bug.
Description
•