WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
240440
frequently restyled content can spend significant time recomputing whether text nodes are entirely HTML space characters
https://bugs.webkit.org/show_bug.cgi?id=240440
Summary
frequently restyled content can spend significant time recomputing whether te...
Cameron McCormack (:heycam)
Reported
2022-05-15 18:35:17 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-05-15 18:35:25 PDT
<
rdar://problem/93319600
>
Cameron McCormack (:heycam)
Comment 2
2023-05-29 19:57:41 PDT
Closing this as unneeded for now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug