On 09/20/2018 04:21 PM, Mike Hommey wrote:
On Thu, Sep 20, 2018 at 12:18:49PM +0300, smaug wrote:
On 09/19/2018 08:34 PM, Nicholas Alexander wrote:
2.
Making the main browser window be an HTML document with (mostly) HTML
DOM elements instead of a XUL document with (mostly) XUL DOM elements.
It is still mystery to me how the performance can be anywhere close to XUL when
starting browser or opening a new window.
XUL's prototype cache was explicitly added because of performance long ago.
That is why we need to only load already parsed document in a binary format,
or in case of new window, just clone from the prototype.
Last time I heard, moving to use HTML document does cause significant
regressions.
I'm reminded of https://bugzilla.mozilla.org/show_bug.cgi?id=618912 but
IIRC there were similar experiments back then on desktop, and basic html
chrome was significantly faster than basic xul chrome.
That bug seems to be more about the layout.
https://screenshotscdn.firefoxusercontent.com/images/d1753829-3ebd-4c42-a757-14757051accf.png
is
the latest numbers I've seen. That isn't pgo, so may or many not be very
accurate, but the regression is
very significant.
Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform