[Webkit-unassigned] [Bug 190105] New: Setting a style height value to the existing value still triggers a clone of StyleBoxData and thus slows down RenderStyle::diff

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 28 20:36:19 PDT 2018


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

            Bug ID: 190105
           Summary: Setting a style height value to the existing value
                    still triggers a clone of StyleBoxData and thus slows
                    down RenderStyle::diff
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

If script keeps setting style.height to the same value, RenderStyle::setHeight still triggers access() which clones StyleBoxData, thus making future calls to RenderStyle::diff slower, since the pointer comparison fails.

Probably true of most of the DataRef<> types.

-- 
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/20180929/0559cf63/attachment-0001.html>


More information about the webkit-unassigned mailing list