Bug 267010

Summary: Cache "containsOnlyASCIIWhitespace" on Node
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: DOMAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2024-01-02 16:15:36 PST
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-02 16:15:51 PST
Simon Fraser (smfr)
Comment 2 2024-01-02 16:18:35 PST
EWS
Comment 3 2024-01-05 20:14:57 PST
Committed 272724@main (ef19f93eea99): <https://commits.webkit.org/272724@main> Reviewed commits have been landed. Closing PR #22327 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.