Closed
Bug 1089459
Opened 11 years ago
Closed 11 years ago
[Settings] Performance regression on bug 1066830
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:2.1+, b2g-v2.1 verified, b2g-v2.2 unaffected)
| Tracking | Status | |
|---|---|---|
| b2g-v2.1 | --- | verified |
| b2g-v2.2 | --- | unaffected |
People
(Reporter: arthurcc, Assigned: eragonj)
References
Details
Attachments
(2 files)
|
46 bytes,
text/x-github-pull-request
|
arthurcc
:
review+
fabrice
:
approval-gaia-v2.1+
|
Details | Review |
|
5.67 MB,
video/mp4
|
Details |
Calling to mozApps.mgmt.getAll in the init function leads to performance regression. We should consider move the call to the callback of an idle observer.
| Reporter | ||
Comment 1•11 years ago
|
||
[Blocking Requested - why for this release]: We should fix the performance regression.
blocking-b2g: --- → 2.1?
Updated•11 years ago
|
Assignee: nobody → arthur.chen
| Reporter | ||
Updated•11 years ago
|
Assignee: arthur.chen → ejchen
| Assignee | ||
Comment 3•11 years ago
|
||
Arthur, in this patch, I postpone the init() timing on root/panel.js and in this way, we can make sure the initializing work would only be done after idling for 4s.
And for master, I already filed another bug 1086167 which would remove all places using mgmt.getAll(), so for this bug, only 2.1 patch would be included.
Attachment #8514822 -
Flags: review?(arthur.chen)
| Assignee | ||
Comment 4•11 years ago
|
||
For master, I will fix it on bug 1086167 (I already filed this bug to track this work 1 week earlier, so let's track there).
See Also: → 1086167
| Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8514822 [details] [review]
patch on v2.1
r=me, thanks!
Attachment #8514822 -
Flags: review?(arthur.chen) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8514822 [details] [review]
patch on v2.1
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: Performance statistics would be a little bit bad on Datazilla
[Testing completed]: Related codes have its own tests already, in this patch, we just postpone the initialization timing.
[Risk to taking this patch] (and alternatives if risky): low
[String changes made]: no
For master, because we already have new cache mechanism to reduce performance problems, I would fix it on another bug and please check "See also" field about it.
Attachment #8514822 -
Flags: approval-gaia-v2.1?
Updated•11 years ago
|
Attachment #8514822 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
| Assignee | ||
Comment 7•11 years ago
|
||
Merged on v2.1: https://github.com/mozilla-b2g/gaia/commit/8b0cf889ae0d48a9eb7ecdcb9b67590de45cc5e5
Thanks all !
Comment 8•11 years ago
|
||
Unable to verify as it is a back-end issue.
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-]
Flags: needinfo?(ktucker)
Updated•11 years ago
|
QA Whiteboard: [QAnalyst-Triage?][QAnalyst-verify-] → [QAnalyst-Triage+][QAnalyst-verify-]
Flags: needinfo?(ktucker)
Comment 9•11 years ago
|
||
Hi,
This bug has been verified successfully on Flame v2.1.
See attachment: verified_v2.1.MP4
Reproducing rate: 0/5
Flame 2.1 version:
Gaia-Rev 8ae086c39011bc8842b2a19bb5267906fa22345a
Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/ebbd5c65c3c1
Build-ID 20141124094013
Version 34.0
Device-Name flame
FW-Release 4.4.2
FW-Incremental eng.cltbld.20141124.130744
FW-Date Mon Nov 24 13:07:55 EST 2014
Bootloader L1TC00011880
Comment 10•11 years ago
|
||
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
status-b2g-v2.2:
--- → unaffected
Target Milestone: --- → 2.1 S8 (7Nov)
You need to log in
before you can comment on or make changes to this bug.
Description
•