forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IntersectionOptimization] Accumulate scroll delta per IntersectionOb…
…servation UMA metrics added in crrev.com/1193840 show that most IntersectionObservations have big min_scroll_delta_to_update, but most LocalFrameViews have very small min_scroll_delta_to_update. This means that a few IntersectionObservations with small min_scroll_delta_to_update cause the optimization not effective. Now track accumulated scroll delta per IntersectionObservation so that we can still skip update for a IntersectionObservation with a big min_scroll_delta_to_update despite other IntersectionObservations with small min_scroll_delta_to_update. Bug: 1400495 Change-Id: I69ec0f80248a9fb8b1120d2d84df703c5e6f6597 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4906672 Reviewed-by: Stefan Zager <szager@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1226578}
- Loading branch information
1 parent
b318a28
commit 339bcd9
Showing
18 changed files
with
278 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.