Bug 261630
| Summary: | Avoid computing layer bounds in BackingSharingState::isAdditionalProviderCandidate() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Compositing | Assignee: | Simon Fraser (smfr) <simon.fraser> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Fraser (smfr)
The calls to calculateLayerBounds() in BackingSharingState::isAdditionalProviderCandidate() show as very hot on profiles on a page with many (thousands) of backing sharing candidates.
We have already computed layer bounds, so we can just use the ones we've computed in OverlapExtent.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/115584910>
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/17834
EWS
Committed 268056@main (9dcbb2227753): <https://commits.webkit.org/268056@main>
Reviewed commits have been landed. Closing PR #17834 and removing active labels.