net: Report memory usage for image cache. (#36556)

These changes add a new report for image cache memory usage for each
script thread.

Testing: Looked at the numbers after browsing various stock photo sites
that show galleries of images.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-04-16 09:11:51 -04:00 committed by GitHub
parent f16f625c9b
commit afe98e9e1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 49 additions and 7 deletions

View file

@ -32,6 +32,7 @@ mime = { workspace = true }
num-traits = { workspace = true }
percent-encoding = { workspace = true }
pixels = { path = "../../pixels" }
profile_traits = { path = "../profile" }
rustls-pki-types = { workspace = true }
serde = { workspace = true }
servo_arc = { workspace = true }