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)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed, b2g18-v1.0.1 fixed)

RESOLVED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: cjones, Assigned: cjones)

References

Details

(Whiteboard: FFOS_perf, QARegressExclude)

Attachments

(1 file)

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().
The amount of time consumed in this call seems to fluctuate quite a bit, for unclear reasons.
As not-unexpected, disabling the console in Settings doesn't make this overhead go away. Bye bye log message!
(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)
Attachment #708394 - Flags: review?(timdream)
Attachment #708394 - Flags: review?(21)
Attachment #708394 - Flags: review+
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)
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?
Whiteboard: FFOS_perf
Component: DOM → Gaia::System
Product: Core → Boot2Gecko
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)
blocking-b2g: --- → tef+
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)
v1-train: 29356c322e0c94d851bfbd510d01462d82e6c970 v1.0.0: 43c6dff635a74e498f59923cc6936e58331c293a
does not make sense to create a regression issue.
Flags: in-moztrap-
Whiteboard: FFOS_perf → FFOS_perf, QARegressExclude
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.

Attachment

General

Created:
Updated:
Size: