What problem does it solve?
kb-performance helps teams fix real performance problems in Next.js + React + Drizzle applications by turning vague “it’s slow” reports into a measurable, stack-tuned optimization workflow.
Core Features & Use Cases
- Measure-first discipline: capture LCP/INP/CLS plus bundle size and SQL timings before changing code.
- 4-step optimization workflow: BASELINE → IDENTIFY → FIX → VALIDATE, with targeted changes and re-measurement.
- Stack-specific playbooks: eliminate waterfalls, manage React Server Components vs Client boundaries, reduce bundle bloat, and tune Drizzle/Neon with EXPLAIN ANALYZE.
- Typical use cases: LCP/INP/CLS over budget, slow dashboards, long-list jank, oversized bundles, and memory growth after prolonged usage.
Quick Start
Use kb-performance to optimize a slow dashboard by first recording LCP/INP/CLS and SQL timings for the affected page, then applying the single most likely fix from the playbooks, and finally re-measuring to confirm the improvement.