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. Mike _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform