Expand description
muxspect browsers: which page each renderer draws, how busy it is, and what the page is doing
(docs/specs/SPEC_RELEASE_BUILD_BROWSER_PAGE_DIAGNOSTIC_2026_11_13.md §3.4).
The window host knows the pages (page_probe) and which renderer serves which browser
(renderer_map); the operating system knows each process’s CPU. This joins the three, with no
I/O, so every case is a unit test: a renderer shared by several browsers, one that serves only a
frame, a pid present in only one sample, a page that did not answer, a Linux namespace pid.
Structs§
- Browser
Row - One renderer’s row (or, with no
pid, a browser that has none: its page is asleep). - Others
- The AgentMux processes that serve no page, for scale next to the page rows.
- Page
Probe - The host’s row for one browser (
crates/cef/src/browser_api/page_probe.rs). - Sample
- Two process snapshots
secsapart.
Functions§
- browser_
rows - One row per renderer, then one per browser that has none (its page is asleep), busiest first.
- instance_
pids - The processes of this AgentMux instance: the launcher above
own_pidand everything under it. AgentMux’s own executables carry the name, so another program a shell started is not climbed into. - others
- The instance’s processes that serve no page (GPU, network service, window host, srv, launcher), and their CPU together, over processes measured in both samples.
- parse_
page_ probe - The host’s
page_probeanswer ({ok, data: {browsers}}) as rows; none for anything else, so an older host just leaves the page facts out. A browser pane’s row is cut down again here, whatever the host sent: a person’s page never contributes a title or an animation name.