peach perf
One profiling group for sampled JS CPU profiles, React render-cost tables, shell and compositor frame timing, and timestamp-aligned scroll offsets from the tenant, shell, and compositor workers.
peach perf cpu [options]
peach perf react <profile|summary|slow|rerenders|tree|why> [options]
peach perf shell <start|stop|transition> [options]
peach perf scroll <start|stop> [options]Options
| Flag | Description |
|---|---|
--host | for perf cpu: profile the desktop app's realms through its host, no Chrome |
--cdp-port <port> | for perf cpu: Chrome DevTools port (default: $PEACH_CDP_PORT or 9222) |
--duration <seconds> | for perf cpu: recording duration (default: 5) |
--match <substring> | for perf cpu: pick the page target by URL substring |
--output <path> | for perf cpu: output .cpuprofile path |
--include-props | for perf react profile start: record shallow prop previews |
--limit <n> | for perf react: rows; for perf scroll: samples per layer |
--json | structured output where supported |
--sim <sim> | target a specific connected sim |
Examples
peach open 8089 --new --driver playwright --cdp-port 9222
peach perf cpu --cdp-port 9222 --duration 5
peach perf cpu --host --duration 8
peach perf react profile start
peach perf react summary --limit 10
peach perf shell start
peach perf shell stop --json
peach perf scroll start
peach perf scroll stop --jsonProfiling Surfaces
perf cpu captures sampled JavaScript CPU profiles through CDP. Open the sim with a CDP port first:
peach open 8081 --new --driver playwright --cdp-port 9222
peach perf cpu --cdp-port 9222 --duration 5perf react reads React render cost from the tenant worker. perf shell records shell and compositor frame timing. perf scroll records timestamp-aligned per-frame offsets from the tenant, shell, and compositor workers while it is armed; use --json on stop for the complete series.