#!/usr/bin/env bash # One-shot snapshot: top-level window count + Electron procs-by-type {count, RSS} (no CPU). # Cheap single reading; use sample.sh for CPU + WindowServer + system + settle-over-time. # Usage: PROF= bash scripts/perf/snapshot.sh "