servo/components/constellation
webbeef aef8537d75
Make the memory reporting multi-process aware (#35863)
So far the memory reporter aggregates reports from all processes, and
runs the system reporter only in the main process. Instead it is
desirable to have per-process reports. We do so by:
- creating a ProcessReports struct that holds includes the pid in
addition to the reports themselves.
- running the system memory reporter also in content processes.
- updating the about:memory page to create one report per process, and
add useful information like the pid and the urls loaded in a given
process.

<!-- Please describe your changes on the following line: -->


---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by
`[X]` when the step is complete, and replace `___` with appropriate
data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors


![image](https://github.com/user-attachments/assets/0bafe140-539d-4d6a-8316-639309a22d4a)

Signed-off-by: webbeef <me@webbeef.org>
2025-04-05 05:42:12 +00:00
..
browsingcontext.rs constellation: Stop assuming that the viewport is shared by all WebViews (#36312) 2025-04-04 17:06:34 +00:00
Cargo.toml Make the memory reporting multi-process aware (#35863) 2025-04-05 05:42:12 +00:00
constellation.rs Make the memory reporting multi-process aware (#35863) 2025-04-05 05:42:12 +00:00
event_loop.rs compositor: Remove the script channel from the compositor (#36089) 2025-03-23 11:19:27 +00:00
lib.rs constellation: Rename messages sent to the Constellation (#36341) 2025-04-04 19:39:38 +00:00
logging.rs constellation: Rename messages sent to the Constellation (#36341) 2025-04-04 19:39:38 +00:00
pipeline.rs Make the memory reporting multi-process aware (#35863) 2025-04-05 05:42:12 +00:00
process_manager.rs Make the memory reporting multi-process aware (#35863) 2025-04-05 05:42:12 +00:00
sandboxing.rs Prevent zombie processes in multi-process mode. (#36329) 2025-04-04 19:39:13 +00:00
serviceworker.rs Prevent zombie processes in multi-process mode. (#36329) 2025-04-04 19:39:13 +00:00
session_history.rs constellation: Stop assuming that the viewport is shared by all WebViews (#36312) 2025-04-04 17:06:34 +00:00
tracing.rs constellation: Rename messages sent to the Constellation (#36341) 2025-04-04 19:39:38 +00:00
webview_manager.rs Separate WebviewManager from Webview in compositor and constellation (#36302) 2025-04-04 07:34:19 +00:00