commit | 339bcd998b16c2069c2b7aab39b10cb07ff50eca | [log] [tgz] |
---|---|---|
author | Xianzhu Wang <wangxianzhu@chromium.org> | Sun Nov 19 18:46:22 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Nov 19 18:46:22 2023 |
tree | 68452879304184007386978537ac60f4fb01a20e | |
parent | b318a28f33bd062c2dc4759fd54bed5188a88e49 [diff] |
[IntersectionOptimization] Accumulate scroll delta per IntersectionObservation 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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.