Repository navigation
cobalt: Enable CobaltMmapFontCache by default - #13165
Merged
Merged
Conversation
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
Contributor
|
Contributor
🤖 Gemini Suggested Commit Message💡 Pro Tips for a Better Commit Message:
|
andrewsavage1
approved these changes
Oct 7, 2026
sherryzy
enabled auto-merge (squash)
October 7, 2026 17:18
sherryzy
disabled auto-merge
October 8, 2026 22:48
Contributor
Author
|
@andrewsavage1 FYI, I updated the code to check the flag at the three call sites rather than inside the helpers to make it clearer the feature is gated by feature flag entirely. |
sherryzy
enabled auto-merge (squash)
October 9, 2026 18:24
briantting
pushed a commit
that referenced
this pull request
Oct 13, 2026
Refer to original PR: #13165 cobalt: Rework CobaltMmapFontCache (disabled by default) - Decompress each WOFF2 font once and share the bytes for scanning, rendering and the cache file. - Write and clean up cache files in the background, never on the font thread. - Check the flag at the call sites; with it off, fonts load as before. On RDK with the feature on, later launches use 23-24 MB less peak memory and 28-34 MB less PMF. Bug: 544754138 (cherry picked from commit 297aa52)
briantting
pushed a commit
that referenced
this pull request
Oct 16, 2026
Refer to original PR: #13165 cobalt: Rework CobaltMmapFontCache (disabled by default) - Decompress each WOFF2 font once and share the bytes for scanning, rendering and the cache file. - Write and clean up cache files in the background, never on the font thread. - Check the flag at the call sites; with it off, fonts load as before. On RDK with the feature on, later launches use 23-24 MB less peak memory and 28-34 MB less PMF. Bug: 544754138 (cherry picked from commit 297aa52)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cobalt: Rework CobaltMmapFontCache (disabled by default)
rendering and the cache file.
thread.
On RDK with the feature on, later launches use 23-24 MB less peak memory
and 28-34 MB less PMF.
Bug: 544754138