commit | aa9f77a8d702535e67e146d88788faa2964d4acc | [log] [tgz] |
---|---|---|
author | Abigail Katcoff <abigailkatcoff@chromium.org> | Tue Oct 10 16:04:00 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 10 16:04:00 2023 |
tree | 0b9bba7615a8d10a81d83fa2a24db244e7bc83d3 | |
parent | fd3bc6a278f125f65ca70475bd1f614f09b55a0e [diff] |
Protected Audiences: Cache loaded interest groups Loading interest groups is slow, and they are loaded for each auction and component auction on a page. A cache for interest group loading can speed up the auction by removing repetitive loads. This change introduces a new class, InterestGroupCachingStorage which wraps around InterestGroupStorage and provides access to an owner's interest groups that are already in memory if available instead of loading them from the database each time (it also handles cache invalidation when values are changed). The new class is not yet used anywhere. In a following change, InterestGroupCachingStorage will be used by the InterestGroupManager in place of InterestGroupStorage. Bug: 1440817 Change-Id: I63daf68e60a70b25bebc1ab8091f5c0481acf2f1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4916973 Reviewed-by: Russ Hamilton <behamilton@google.com> Commit-Queue: Abigail Katcoff <abigailkatcoff@chromium.org> Cr-Commit-Position: refs/heads/main@{#1207696}
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.