[Webkit-unassigned] [Bug 229680] REGRESSION (r272900): wpt.fyi loading performance is very slow (regressed, and slower than other browsers)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 31 02:12:59 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229680

--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> ---
hmm, this happens because a lot of elements are added to the same shadow root, so didChangeDefaultSlot() and hostChildElementDidChange() are called too many times. Iterating the composed tree every time makes things super slow. I don't think we need to tear down renderers on every didChangeSlot call, only the ones coming from hostChildElementDidChange() and not in all those cases either. IIRC the problem was only when replacing a previous tree and there was a node with display contents. So, I think we need to find a more specific solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210831/e992454e/attachment.htm>


More information about the webkit-unassigned mailing list