commit | 5b0b49d8fd5c30e5ae7c009234760c5bce759588 | [log] [tgz] |
---|---|---|
author | rbpotter <rbpotter@chromium.org> | Thu Jan 30 19:08:15 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 30 19:08:15 2025 |
tree | baa1495457e7c427bac3b154bedfb4d919782af9 | |
parent | 66f77e0b368c1666385ac653edd1eeddd5e50d1b [diff] |
cr-lazy-list: Add a chunking mode and use in chrome://extensions - Add a "chunking mode" to cr-lazy-list, which sets content-visibility on chunks of `chunkSize` items instead of on the individual items themselves. "chunking mode" is enabled by setting the `chunkSize` property to a value > 1. - Use the new mode from the extensions activity log stream, which may have a very large number of relatively short (56px) items. - Also adding a few validation tests for the new mode, to allow for easier experimentation and to confirm it is working as expected. Observations: - 20% improvement in scrolling from one end of the list to the other once all (300+) items in the list have rendered. - More significant (50%+) improvement in speed of scrolling to the end of the list on initial render. Bug: None Change-Id: Ia5de8c9280545ca4f53a6e887174b9011afa75c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6153293 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/main@{#1413623}
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.