Closed
Bug 835547
Opened 12 years ago
Closed 12 years ago
BrowserElementChild.js startup taking ~60 samples (~120ms) on critical startup path
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: cjones, Assigned: vingtetun)
References
Details
For example, this profile of Template app startup
http://people.mozilla.com/~bgirard/cleopatra/#report=2d71953e8c89fa872949df729c730fe0429b789d
The majority of that time is going to BrowserElementChild._init(). A nontrivial amount of time is also going to cp_init(), which is surprising.
Reporter | ||
Comment 1•12 years ago
|
||
Can we .jsm'ize some of this code for win?
Comment 2•12 years ago
|
||
I believe we established some months ago that most of this time in _init went into the first call which touched docShell. I don't know if preloading about:blank changes this equation.
Reporter | ||
Comment 3•12 years ago
|
||
That doesn't appear to the case in the profile in comment 0, but I admit it's very hard to tell. (The profile was made with the about:blank preload patch applied.)
Updated•12 years ago
|
Component: DOM: Apps → DOM: Mozilla Extensions
Reporter | ||
Comment 4•12 years ago
|
||
I think Vivien is working on this incidentally in bug 835809.
Vivien, cp_init() in BrowserElementChild.js is taking a surprising number of samples, ~15 (== ~30ms). Do you have wins for that?
Assignee: nobody → 21
Comment 5•12 years ago
|
||
I may also have improved that in bug 835548, moving from registering N message listeners to a single one.
Reporter | ||
Comment 6•12 years ago
|
||
Not specific enough to be useful anymore. We've squeezed wins out of this code.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•