[Webkit-unassigned] [Bug 236486] New: Make WidgetHierarchyUpdatesSuspensionScope cheaper if it has nothing to do

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 10 23:15:10 PST 2022


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

            Bug ID: 236486
           Summary: Make WidgetHierarchyUpdatesSuspensionScope cheaper if
                    it has nothing to do
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

With content that does a lot of DOM manipulation, we can create and destroy a WidgetHierarchyUpdatesSuspensionScope on the stack many times.  When this object has nothing to do, it calls an out of line function.  We can pull out the check for whether it needs to call moveWidgets() into the inline destructor.

This is a 1% saving on the jQuery-TodoMVC subtest of Speedometer 2, though the effect on the top line score is minimal.

-- 
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/20220211/3df0e952/attachment.htm>


More information about the webkit-unassigned mailing list