Performance monitoring
Vue performance monitoring
Vue is fast by default, but large reactive objects, big lists and heavy watchers add up. Measure real users and profile with Vue DevTools.
3 min read8 sectionsUpdated
On this page
| Metric | Good | Typical Vue cause when poor |
|---|---|---|
| LCP | ≤ 2.5 s | Client-side rendering of the first screen, large bundles, late hero images |
| INP | ≤ 200 ms | Expensive re-renders, heavy event handlers, long tasks during hydration |
| CLS | ≤ 0.1 | Content inserted after data loads, images without dimensions |
| JS error rate | Low and stable | Unhandled errors in components and async code |
Common Vue performance problems
- Making huge objects deeply reactive (API responses with thousands of rows); use
shallowReformarkRawfor data you do not mutate. - Watchers with
deep: trueon large structures, running on every nested change. - Computed properties doing heavy work that depend on frequently changing state.
- Lists without stable keys, causing unnecessary DOM work.
- Large components that re-render as a whole; split them so updates stay local.
Measuring
Vue DevTools' performance timeline shows component render and update times. Bundle analysis (for example rollup-plugin-visualizer with Vite) finds heavy dependencies. In production, report Web Vitals and errors from real users; set app.config.errorHandler and forward errors, including those in async setup functions.
Vue monitoring in VitalRix
Add the real user monitoring script to your app shell to record Core Web Vitals per page from real visitors, JavaScript errors with source-mapped stacks (upload source maps per release), and masked session replays. Pair it with APM for the API calls your Vue app makes, and try the free LCP and INP checks on any page.
Does real user monitoring work with Vue client-side routing?
Yes. Page views are recorded on navigation, and Web Vitals such as INP and CLS are measured across the visit.
Is Nuxt faster than a Vue SPA?
For first loads, server rendering usually gives better LCP. For interactions afterwards they are similar. Measure your own pages.
Check it now, free
- Response time checker: Measure TTFB with DNS, connect, TLS and server time.
Related reading
- React performance monitoring: Monitor React apps in production: Core Web Vitals from real users, slow renders and INP, bundle size, errors with source maps.
- Angular performance monitoring: Monitor Angular apps in production: Core Web Vitals from real users, change detection cost, bundle size and lazy loading, errors with source maps.
- Next.js performance monitoring: Monitor Next.js apps end to end: Core Web Vitals from real users, server rendering and route handler latency with OpenTelemetry, caching behaviour and errors.
- Monitoring for publishers and media sites: Monitoring for news and content sites: Core Web Vitals per template, layout shift from ads, breaking-news traffic spikes and crawlability checks.
- Cloudflare error 521: web server is down: Fix Cloudflare error 521 "Web server is down": the origin refused the connection. Check the web server, firewall rules for Cloudflare IPs and DNS.
- Cloudflare error 520: web server returns an unknown error: Fix Cloudflare error 520 "Web server returns an unknown error": empty or reset origin responses, crashes, oversized headers and keep-alive mismatches.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.