commit | 167a78169ceb5cfddfecef429821853be8bb122b | [log] [tgz] |
---|---|---|
author | Patrick Meenan <pmeenan@chromium.org> | Mon May 12 04:13:11 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 12 04:13:11 2025 |
tree | a66dbf98ce0ab3c0b2c86194179a8aeb92ffc5e6 | |
parent | f20d3570a94123c8e052253a40178dcd88fc2b65 [diff] |
Added a LRU memory cache for disk-based shared dictionaries This adds a tunable LRU memory cache for shared dictionaries that are stored on disk. Specifically, it allows for any request to match from the cache but limits writes to the cache to navigation-style requests (documents and frames) where dictionaries are likely to be reused but not in such a way that they benefit from the existing ref-counted cache. It also adds a histogram to track the cache hit rate for document requests to help with the tuning of the cache size. Bug: 411711704 Change-Id: Idb8b69ead7016b05fa3ba074d9e61c43560476fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6525967 Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Nidhi Jaju <nidhijaju@chromium.org> Commit-Queue: Patrick Meenan <pmeenan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1458657}
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.