servo/components/profile
Josh Matthews f1a9ceed4f
allocator: Add optional heap allocation measurement tracking. (#38727)
Add an off-by-default allocator mode that tracks all live allocations
with sizes and associated stack traces. We also track if each allocation
is visited as part of a measuring heap usage in `about:memory`, allowing
us to report on allocations that are not tracked yet. Right now the list
of untracked allocations is dumped to stdout; I have a python script
coming in a separate PR which makes it easier to perform analysis on the
massive output.

Testing: Manually tested with `./mach build -d --features
servo_allocator/allocation-tracking` and visiting about:memory.
Part of: #11559

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-08-19 18:49:27 +00:00
..
Cargo.toml allocator: Add optional heap allocation measurement tracking. (#38727) 2025-08-19 18:49:27 +00:00
lib.rs Make the memory reporting multi-process aware (#35863) 2025-04-05 05:42:12 +00:00
mem.rs allocator: Add optional heap allocation measurement tracking. (#38727) 2025-08-19 18:49:27 +00:00
system_reporter.rs Profile: Resident Segments was not correctly parsing /proc/self/smaps as the regexp did not work anymore. (#37549) 2025-06-19 09:19:31 +00:00
time.rs Remove layout-2013 profiling categories (#37014) 2025-05-15 16:54:02 +00:00
trace-dump-epilogue-1.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump-epilogue-2.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump-prologue-1.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump-prologue-2.html Add a method for dumping self-contained HTML timeline profiles 2016-04-27 18:35:17 -07:00
trace-dump.css Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
trace-dump.js Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
trace_dump.rs script: Create a CrossProcessInstant to enable serializable monotonic time (#33282) 2024-09-05 18:50:09 +00:00