[Webkit-unassigned] [Bug 267010] New: Cache "containsOnlyASCIIWhitesapce" on Node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 2 16:15:36 PST 2024


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

            Bug ID: 267010
           Summary: Cache "containsOnlyASCIIWhitesapce" on Node
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

A call to `containsOnly<isASCIIWhitespace>()` from TreeResolver::resolveComposedTree() shows on on MotionMark profiles, and does the same computation on a Text node on every frame, so we can cache this.

-- 
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/20240103/3fd4ec84/attachment.htm>


More information about the webkit-unassigned mailing list