Closed
Bug 836561
Opened 13 years ago
Closed 13 years ago
Significant time (~10 samples, ~15ms) in ConsoleAPI.js in b2g process on critical startup path
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
blocking-b2g | tef+ |
People
(Reporter: cjones, Assigned: cjones)
References
Details
(Whiteboard: FFOS_perf, QARegressExclude)
Attachments
(1 file)
879 bytes,
patch
|
timdream
:
review+
|
Details | Diff | Splinter Review |
The console is supposed to be disabled by default; I realized I've been testing with the equivalent of an eng build of gaia for convenience.
However, I'm filing this to compare with console disabled. If we're nuking it at the right place, all this overhead should go away, but I'm not sure we're doing that.
This is being logged from window_manager.js createFrame().
Assignee | ||
Comment 1•13 years ago
|
||
The amount of time consumed in this call seems to fluctuate quite a bit, for unclear reasons.
Assignee | ||
Comment 2•13 years ago
|
||
As not-unexpected, disabling the console in Settings doesn't make this overhead go away. Bye bye log message!
Assignee | ||
Comment 3•13 years ago
|
||
(Review to whomever sees it first. Trivial.)
This message doesn't provide new information anymore, because
- all interesting apps run out-of-process
- running apps can be seen with adb shell b2g-ps
- failure to start an app will show up in dmesg
Assignee: nobody → jones.chris.g
Attachment #708394 -
Flags: review?(timdream)
Attachment #708394 -
Flags: review?(21)
Updated•13 years ago
|
Attachment #708394 -
Flags: review?(timdream)
Attachment #708394 -
Flags: review?(21)
Attachment #708394 -
Flags: review+
Comment 4•13 years ago
|
||
Comment on attachment 708394 [details] [diff] [review]
Kill redundant log message that's showing up in profiles
Please remember to request for uplift (to v1-train/v1.0.0)
Assignee | ||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 708394 [details] [diff] [review]
Kill redundant log message that's showing up in profiles
Trivial patch that saves time on the critical startup path. Zero risk.
Attachment #708394 -
Flags: approval-mozilla-b2g18?
Assignee | ||
Updated•13 years ago
|
Whiteboard: FFOS_perf
Assignee | ||
Updated•13 years ago
|
Component: DOM → Gaia::System
Product: Core → Boot2Gecko
Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 708394 [details] [diff] [review]
Kill redundant log message that's showing up in profiles
(Not a gaia bug per se, but better to use the gaia tracking metadata I guess.)
Attachment #708394 -
Flags: approval-mozilla-b2g18? → approval-gaia-v1?(21)
Updated•13 years ago
|
Comment 8•13 years ago
|
||
Comment on attachment 708394 [details] [diff] [review]
Kill redundant log message that's showing up in profiles
Talking in triage we decided to block this so it can be uplifted to both v1-train and v1.0.0 branches - we want this low risk perf win.
Attachment #708394 -
Flags: approval-gaia-v1?(21)
Comment 9•13 years ago
|
||
v1-train: 29356c322e0c94d851bfbd510d01462d82e6c970
v1.0.0: 43c6dff635a74e498f59923cc6936e58331c293a
Updated•12 years ago
|
Whiteboard: FFOS_perf → FFOS_perf, QARegressExclude
Updated•12 years ago
|
status-b2g18-v1.0.1:
--- → fixed
Comment 11•12 years ago
|
||
Cannot verify, need steps to blackbox test the issue.
You need to log in
before you can comment on or make changes to this bug.
Description
•