[Webkit-unassigned] [Bug 240440] New: frequently restyled content can spend significant time recomputing whether text nodes are entirely HTML space characters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 15 18:35:17 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=240440
Bug ID: 240440
Summary: frequently restyled content can spend significant time
recomputing whether text nodes are entirely HTML space
characters
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: heycam at apple.com
CC: webkit-bug-importer at group.apple.com
In the MotionMark Design subtest, we spend 1% of Web content process time in isAllSpecialCharacters<isHTMLSpace> under TreeResolver::resolveComposedTree. This is because the cloned <table> elements that are used for the text trails have all white space text nodes between tags, and we end up looking through all those text node characters. We can cache the result in a node flag to avoid 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/20220516/f9d71fc7/attachment-0001.htm>
More information about the webkit-unassigned
mailing list