/optimize — Performance Optimization
Optimize: $ARGUMENTS. See agents/performance-optimizer.md.
- Profile — Bundle (
webpack-bundle-analyzer), build time, runtime (O(n^2) patterns, re-renders) - Analyze — Check against targets: bundle <200KB gzip, LCP <2.5s, CLS <0.1, TBT <200ms
- Optimize — Algorithmic, React, bundle, network, database, memory fixes
- Verify — Re-measure with before/after metrics