Please add an option to disable the "live metrics" landing page in perf tab

32 views
Skip to first unread message

Leon Sorokin

unread,
Mar 14, 2026, 6:00:56 PM (5 days ago) Mar 14
to devtools-dev
Hello!

please add an option to disable the "live metrics" landing page in the devtools performance tab, since it intoduces what looks like a misleading memory leak in the memory heap profiler. (PerformanceEventTiming accumulation)


there may, in fact, be other things in the heap snapshot that are related to devtools being open rather than code and markup of the page being measured. ideally these would all be filtered out of the heap snapshots as not to add noise to the data.

thanks!

Leon Sorokin

unread,
Mar 14, 2026, 7:13:54 PM (5 days ago) Mar 14
to devtools-dev, Leon Sorokin
come to think of it, here is a heap snapshot of a completely empty html page (html, head, title, body tags), with devtools open.

as a web dev i have no control over this, yet it's already several pages of internals i have to know to mentally discard before i see anything related to code i wrote.

it would be great to have an option (or even default behavior) to exclude this from the profile so this view represents only app code (and related internals) that i have control over.

Screenshot_20260314_174722.png

Leon Sorokin

unread,
Mar 14, 2026, 8:24:02 PM (5 days ago) Mar 14
to devtools-dev, Leon Sorokin
CDPSession via Puppeteer is somewhat better:

Screenshot_20260314_191608.png

performance-related stuff on heap in Chrome vs CDPSession:

Screenshot_20260314_192135.png

Leon Sorokin

unread,
Mar 14, 2026, 9:50:32 PM (5 days ago) Mar 14
to devtools-dev, Leon Sorokin
heh, what's __chromium_devtools_kill_live_metrics?

Screenshot_20260314_204826.png

Reply all
Reply to author
Forward
0 new messages