Performance monitoring
Tracking real-world speed and errors as users experience them.
Application performance monitoring and real user monitoring measure speed and errors in production. Lab tests miss slow devices and networks. Error tracking tools group exceptions so the important ones stand out.
Why it matters for a product engineer
A page that is fast on a developer’s laptop can be slow on a cheap phone over a mobile network. Lab tests run on known machines, so they miss what many real users experience. Real user monitoring measures speed and errors on the devices people actually use, and error tracking groups crashes so the most common ones stand out. Product engineers can then fix the problems that affect the most users.
How to do it
- Collect Core Web Vitals from real users, with device type, browser, country and page.
- Look at the 75th percentile, not the average, and split it by device and connection.
- Track client errors with an error tracker that groups them and shows how many users each affects.
- Connect performance and errors to the release, so you can see which change made things worse.
- Use lab tests to debug a problem that field data found, not instead of field data.
Common mistakes
- Judging speed by a lab score on a fast machine.
- One average across desktop and mobile.
- Hundreds of error types with no grouping and no owner.
- Ignoring responsiveness after the page has loaded.
Example
The Web Almanac uses real-user data from Chrome to measure the web each year. In 2024, 54% of websites had good Core Web Vitals on desktop, but only 43% on mobile. That year, Interaction to Next Paint replaced First Input Delay as the responsiveness metric. With the older metric, 48% of sites would have passed on mobile. The new one measures more of each visit, so it found problems that the old metric missed.
Websites with good Core Web Vitals in 2024, from real users
- Desktop54%
- Mobile43%
- Mobile, with the old FID metric48%
Real users on phones have a worse experience than desktop users, and a better metric made the gap more visible.
ReportedHTTP Archive, Web Almanac 2024, Performance chapter
Sources: Performance, Web Almanac 2024 (HTTP Archive) ↗ · Web vitals (web.dev) ↗
Resources
1- articleStart here
Web vitals ↗
web.dev (Google) · 2020 · 12 minThe three metrics Google uses for loading, responsiveness and visual stability, and their thresholds.
Tools
1- ToolFreemium
Sentry
Error tracking and performance monitoring that groups exceptions and links them to releases.