What problem does it solve?
It helps you identify likely performance bottlenecks in your route/page/module code by scanning for common, high-impact patterns (like N+1 queries, missing indexes, and unbounded fetches) and reporting them with concrete, evidence-backed fixes.
Core Features & Use Cases
- Static performance audit: Reviews a named entry point and reads imports two layers deep to stay focused on the real hot path.
- Pattern catalog–driven findings: Detects specific signatures (e.g., N+1 query loops, missing indexes on filtered/joined columns, SELECT * usage, sequential awaits, server-only imports leaking to client bundles).
- Actionable, ranked reports: Produces findings grouped by impact (high/medium/low), each with an evidence line (file:line) and a specific code-level remediation.
- Audit-only safety boundary: Never applies fixes automatically; it reports only, so you retain control of tradeoffs and reviewability.
Quick Start
Ask your agent to audit a slow entry point by saying: "audit perf for ./src/app/dashboard/page.tsx and report the top high-impact issues with file:line evidence and concrete fixes."