[Webkit-unassigned] [Bug 222202] twitch.tv: when in fullscreen, WebKit continually does 350ms layouts. Firefox and Chrome do not

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 19 22:30:46 PST 2021


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

--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Looks like flexbox layout is O(n^2) or more on depth. One call to RenderFlexibleBox::layoutFlexItems() can layout a given child more than once, so as soon as you nest flexboxes, this multiplies down the tree.

On twitch.tv, a layout can takes > 500ms can call RenderFlexibleBox::layoutFlexItems() more than 32,000 times on a single RenderFlexibleBox.

-- 
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/20210220/192121c4/attachment.htm>


More information about the webkit-unassigned mailing list