| name | perf-checklist |
| description | Performance quick reference — Core Web Vitals, bundle size, rendering, DB queries, caching. Use during implementation or review when perf matters. |
Performance checklist
Measure first. Opinion second.
Frontend — Core Web Vitals
LCP (Largest Contentful Paint) — ≤ 2.5s
CLS (Cumulative Layout Shift) — ≤ 0.1
INP (Interaction to Next Paint) — ≤ 200ms
Frontend — bundle
Backend — query layer
Backend — request
Cache
Instrumentation
Common mistakes
- "Add caching" to mask a slow query — fix the query.
- Memoizing in React before measuring — often makes things worse.
- Index everything — indexes have a write cost; pick with intention.
- Serve Gzip but forget to compress API JSON — biggest gzip wins are often in the API.