servo/components/malloc_size_of
Rahul Menon 9cd019403f
layout: Measure stacking context tree in layout thread memory report (#38762)
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>
2025-08-21 07:21:59 +00:00
..
Cargo.toml layout: Measure stacking context tree in layout thread memory report (#38762) 2025-08-21 07:21:59 +00:00
lib.rs layout: Measure stacking context tree in layout thread memory report (#38762) 2025-08-21 07:21:59 +00:00
LICENSE-APACHE Fork Stylo's malloc_size_of into Servo (#34332) 2024-11-22 14:57:55 +00:00
LICENSE-MIT Fork Stylo's malloc_size_of into Servo (#34332) 2024-11-22 14:57:55 +00:00