What problem does it solve? Chat UI changes can silently introduce rendering regressions or memory leaks that are hard to catch with unit tests. This Skill automates performance benchmarking and leak detection for the VS Code chat panel, comparing builds with statistical rigor so regressions are caught before they ship. ## Core Features & Use Cases - Perf Regression Testing: Launches VS Code via Playwright Electron, streams mock LLM responses, and measures timing, layout, and rendering metrics against a baseline build using Welch's t-test for statistical significance. - Memory Leak Checks: Sends repeated messages in one session, forces GC between each, and uses linear regression on heap and DOM node samples to detect per-message growth. - CI Integration & Bisection: Runs in a scheduled GitHub workflow against a fixed release baseline, producing artifacts that let you pinpoint when a metric regressed or went flaky. - Use Case: After modifying chatListRenderer.ts, run the perf comparison against VS Code 1.115.0 with 5 runs to verify no statistically significant regression in layout duration or time to first token. ## Quick Start Run the chat performance regression test comparing my local dev build against the VS Code 1.115.0 baseline with 3 runs of the text-only scenario.