mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
layout: Report memory usage for fragment and box trees. (#36553)
Add memory reporter integration for the fragment and box trees that are persisted in the layout thread. Testing: Looked at the numbers for https://servo.org and https://html.spec.whatwg.org/. The former was very small, but the latter was 700mb. --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
add8c51f47
commit
c787688afc
33 changed files with 230 additions and 69 deletions
|
@ -13,6 +13,7 @@ path = "lib.rs"
|
|||
[dependencies]
|
||||
accountable-refcell = { workspace = true }
|
||||
app_units = { workspace = true }
|
||||
atomic_refcell = { workspace = true }
|
||||
content-security-policy = { workspace = true }
|
||||
crossbeam-channel = { workspace = true }
|
||||
euclid = { workspace = true }
|
||||
|
@ -28,8 +29,11 @@ string_cache = { workspace = true }
|
|||
stylo = { workspace = true }
|
||||
stylo_dom = { workspace = true }
|
||||
stylo_malloc_size_of = { workspace = true }
|
||||
taffy = { workspace = true }
|
||||
thin-vec = { workspace = true }
|
||||
tokio = { workspace = true, features = ["sync"] }
|
||||
unicode-bidi = { workspace = true }
|
||||
unicode-script = { workspace = true }
|
||||
url = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue