Bug 267010
| Summary: | Cache "containsOnlyASCIIWhitespace" on Node | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | DOM | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/120391238>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/22327
EWS
Committed 272724@main (ef19f93eea99): <https://commits.webkit.org/272724@main>
Reviewed commits have been landed. Closing PR #22327 and removing active labels.