109
edits
Joel Reymont (talk | contribs) |
Joel Reymont (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
= Current status = | = Current status = | ||
=== September 9, 2009 === | |||
I've been thinking how to speed up reflows ([https://bugzilla.mozilla.org/show_bug.cgi?id=514275 Bug 514275]) but haven't made much progress until I got Boris Zbarsky involved. Boris suggested restricting invocations of PresShell::ProcessReflowCommands to those that actually do work | |||
<pre> | |||
0 != mDirtyRoots.Length() | |||
</pre> | |||
on XUL documents | |||
<pre> | |||
FrameManager()->GetRootFrame()->GetFirstChild(nsnull) && | |||
FrameManager()->GetRootFrame()->GetFirstChild(nsnull)->GetType() == nsGkAtoms::rootFrame | |||
</pre> | |||
Looking at the [https://bug514275.bugzilla.mozilla.org/attachment.cgi?id=399254 25 call sites 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]. | |||
= Previous statuses = | |||
=== September 3, 2009 === | === September 3, 2009 === | ||
| Line 35: | Line 54: | ||
[https://bugzilla.mozilla.org/show_bug.cgi?id=514275 Bug 514275] | [https://bugzilla.mozilla.org/show_bug.cgi?id=514275 Bug 514275] | ||
=== September 2, 2009 === | === September 2, 2009 === | ||
edits