GPU Performance Agent 2.0.0
GPU Performance Agent 2.0.0 reduces profiling overhead and makes repeated captures and regression checks more reliable for developers and agents.
- Zero required npm dependencies for the fast runner, incremental allocation tracking, reusable GPU timers, and compact agent output.
- Isolated persistent-browser jobs, bounded capture and trace lifecycles, queue limits, and robust cleanup.
- Interleaved A/B captures, Welch intervals for independent reports, validated budgets, and explicit invalid-measurement results.
- Existing MCP tools, HTML reports, detailed recommendations, adaptive sampling, screenshots, and CDP attachment remain available.
Migration
Requires Node.js 22+. Persistent jobs now use isolated contexts; choose --context shared for intentional state reuse. The agent CLI defaults to six 250 ms samples and two warmups. Adaptive sampling is opt-in on the CLI. Independent comparisons use Welch intervals; select --paired only for matched observations. Exit code 2 means invalid measurements or incompatible comparison settings. Reports use schema version 2 with structured warnings. See CHANGELOG.md for API changes.
Validation
- 161 tests passed with real Chrome/localhost tests enabled; zero failures or skips.
- Clean installation of the exact release tarball pulled in only gpu-perf-agent, with no required dependencies.
- Published entry points loaded; packaged CLI captured WebGPU measurements, a GPU trace, HTML output, and a screenshot.
- Optional Playwright runner passed a separate real-browser smoke check.
- Bundled agent skill validated.
Install: npm install -D gpu-perf-agent@2.0.0
The attached tarball is the artifact validated and submitted to npm. Snapshot and startup microbenchmarks in OPTIMIZATION.md measure tool overhead, not application GPU speedups.