System Design · Middle · Question 29 of 75
How do you track performance for real users?
- ✓Correct answer: RUM: collect Web Vitals in production and analyze by percentiles
- 2Run Lighthouse once before a release on a developer's laptop
- 3Watch the project's build time in CI
Explanation
The web-vitals library (or useReportWebVitals in Next.js) sends LCP, INP, CLS via sendBeacon. Look at the 75th percentile by device type and page, and correlate regressions with releases. Lab tests are useful but don't replace field data.