Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DownloadBubble] Show up to 30 items in the bubble
This changes the upper bound on items to show from 100 to 30. This reduces the impact of possible O(n^2) behavior in showing the bubble, which may be causing performance issues. Because caching fewer items leads to backfilling more frequently, which we want to avoid, the number of extra items to cache is raised accordingly, so that we cache 60 items of each type (previously 120). Caching more items is relatively cheap while backfilling is expensive. Bug: 1421426 Change-Id: I1b69f8971c3ed7c866b1219427fdd023a38459e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4370538 Commit-Queue: Lily Chen <chlily@chromium.org> Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1121772}
- Loading branch information