109
edits
Joel Reymont (talk | contribs) |
Joel Reymont (talk | contribs) |
||
| Line 24: | Line 24: | ||
Looking at the [https://bug514275.bugzilla.mozilla.org/attachment.cgi?id=399254 25 reflows and timings] for the "Getting involved with Mozilla..." page, it's clear that some reflows are more expensive than others. It's also interesting that there are [https://bug514275.bugzilla.mozilla.org/attachment.cgi?id=399445 just 11 reflows] for a blank page. | Looking at the [https://bug514275.bugzilla.mozilla.org/attachment.cgi?id=399254 25 reflows and timings] for the "Getting involved with Mozilla..." page, it's clear that some reflows are more expensive than others. It's also interesting that there are [https://bug514275.bugzilla.mozilla.org/attachment.cgi?id=399445 just 11 reflows] for a blank page. | ||
Using [http://blog.vlad1.com/2009/07/28/measuring-startup/ Vlad's benchmark], I have 5.3s cold start and 0.9s warm start. | Using [http://blog.vlad1.com/2009/07/28/measuring-startup/ Vlad's benchmark], I have 5.3s cold start and 0.9s warm start. Timing using the return from [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#903 BrowserStartup (JS)] gives me almost exactly the same results as Vlad's. | ||
<pre> | |||
javascript*:::function-return | |||
/copyinstr(arg2) == "BrowserStartup"/ | |||
{ | |||
exit(1); | |||
} | |||
</pre> | |||
The difference is about 50ms which copyinstr probably accounts for. | |||
= Previous statuses = | = Previous statuses = | ||
edits