Skip to main content
Artifacts land in ~/.browspark/artifacts (or BROWSPARK_ARTIFACTS) in Chrome’s own formats, so every file opens in DevTools.

Traces

stop saves a .json trace (DevTools Performance panel, Perfetto) and returns a summary: time by category, long tasks with their heaviest children, script time by URL, observed LCP, FCP and CLS, and user timings. search finds events by name or argument, compare diffs two recordings, vitals reads live Web Vitals observed in the page since the session started (LCP, CLS, INP, FID, FCP, TTFB, long tasks), and metrics returns Chrome runtime metrics.
Traces are browser-wide; activity from other tabs can appear in the raw file. The summary is filtered to the target tab where possible.

CPU profiles

devtools_profile start / stop records a sampling profile (.cpuprofile). stop and analyze return the most expensive functions by self time (bottom-up) and the hot paths (call tree).

Memory

Chrome does not expose the heap profiler to extensions. A typical leak hunt: growth in your own tab to confirm the symptom, then launch the developer browser, reproduce, and use snapshotcompareretainers.

Coverage

devtools_coverage start (optionally reload: true) then stop reports used and unused bytes per JavaScript and CSS file. detail lists the unused ranges of one file with line numbers and snippets.

Lighthouse

Runs the official Lighthouse CLI against the developer browser and returns category scores, key metrics and failing audits, plus HTML and JSON reports as artifacts. Developer mode only; Lighthouse opens its own tab there.