109
edits
Joel Reymont (talk | contribs) |
Joel Reymont (talk | contribs) |
||
| Line 6: | Line 6: | ||
=== September 14, 2009 === | === September 14, 2009 === | ||
==== Breaking startup into smaller chunks === | |||
<pre> | |||
bsmedberg:joelr: I really think that "Ts" is still much too large of a chunk to make meaningful improvements on | |||
bsmedberg:joelr: in order to make meaninful discoveries, I think you have to break startup down into pieces and then maybe improve each piece | |||
joelr:bsmedberg: i'm listening | |||
bsmedberg:well, you've got various stuff that happens up until you start the event loop | |||
bsmedberg:breaking XRE_main into phases up until nsAppStartup::Run would be interesting | |||
bsmedberg:I still haven't seen a graph or anything of how we break down | |||
bsmedberg:joelr: I think stepping through in a debugger might give you a better sense of what's going on (up until Run()) than profiles would | |||
bsmedberg:even if you broke things up into "from main() to the beginning of event loop" and "after the event loop starts" that would be more interesting | |||
bsmedberg:joelr: and then within the first chunk, timing NS_InitXPCOM, the extension manager bits, chromereg startup | |||
bsmedberg:joelr: I think this intersects with some of the startup-timeline stuff taras was doing | |||
joelr:bsmedberg: what are the functions for "extension manager bits" and "chromereg startup"? | |||
bsmedberg:joelr: basically from http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsAppRunner.cpp#2607 to #3453 | |||
joelr:bsmedberg: thanks for the suggestion, i'll do that | |||
bsmedberg:joelr: #3382 to #3408 or so | |||
</pre> | |||
==== XUL reflow ==== | |||
<pre> | |||
bz:joelr: so I'm still wondering about some of the reflow stuff | |||
bz:joelr: I know it's hard, but that's why no one's really dived into it yet | |||
bz:joelr: and I'd love to know whether we do in fact end up looping significantly in sprocket layout during startup, for example | |||
joelr:bz: i'm still wondering about reflow myself but i'm not quite ready to tackle it yet | |||
joelr:bz: don't know enough | |||
</pre> | |||
==== XPT_ArenaMalloc and zero-filling memory ==== | ==== XPT_ArenaMalloc and zero-filling memory ==== | ||
edits