mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Measures the memory usage of the stacking context tree in the memory report of the layout thread by adding `MallocSizeOf` to `StackingContextTree` and all the types required for that. Also requires adding `MallocSizeOf` to some webrender types. Testing: Manually looked at about:memory <img width="636" height="241" alt="image" src="https://github.com/user-attachments/assets/6bf9d65a-0bf0-4a99-99b5-ddedba3269c1" /> Fixes: https://github.com/servo/servo/issues/38725 --------- Signed-off-by: Rahul Menon <menonrahul02@gmail.com>
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[package]
|
|
name = "servo_malloc_size_of"
|
|
license = "MIT OR Apache-2.0"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
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 }
|
|
http = { workspace = true }
|
|
indexmap = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
keyboard-types = { workspace = true }
|
|
markup5ever = { workspace = true }
|
|
mime = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
resvg = { workspace = true }
|
|
servo_allocator = { path = "../allocator" }
|
|
servo_arc = { workspace = true }
|
|
smallvec = { workspace = true }
|
|
string_cache = { workspace = true }
|
|
stylo = { workspace = true }
|
|
stylo_dom = { workspace = true }
|
|
stylo_malloc_size_of = { workspace = true }
|
|
taffy = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
unicode-bidi = { workspace = true }
|
|
unicode-script = { workspace = true }
|
|
url = { workspace = true }
|
|
urlpattern = { workspace = true }
|
|
uuid = { workspace = true }
|
|
webrender = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
wr_malloc_size_of = { workspace = true }
|