Core Web Vitals (Part 10): Performance Budgets, RUM and Preventing Regressions
Turn Core Web Vitals optimisation into an engineering practice with performance budgets, CI checks, real-user monitoring, release attribution, alerts, ownership and regression playbooks.

A performance project has a predictable failure mode.
The team spends two weeks optimising the site. Images are resized, JavaScript is split, LCP drops, dashboards turn green and everybody moves on.
Three months later:
- a new chat vendor loads on every route;
- the homepage gains a 2 MB campaign video;
- an experiment adds another tag manager script;
- the product team ships a large component library for one modal;
- nobody notices mobile INP creeping upward until Search Console complains.
The difficult part of web performance is not making a page fast once.
It is creating a system in which performance regressions become visible, attributable and expensive enough to notice before users absorb them for months.
That requires budgets, CI, RUM, release metadata and ownership.
Start with user-facing objectives
A performance programme should have explicit objectives such as:
- p75 mobile LCP ≤ 2.5 s;
- p75 INP ≤ 200 ms;
- p75 CLS ≤ 0.1;
- critical product routes remain within tighter internal targets;
- no release introduces a material regression for a key route/device cohort.
Core Web Vitals thresholds are useful baseline targets. Your product may need stricter ones.
A trading interface, drawing application or checkout flow can feel poor well before a generic threshold becomes “poor”.
Use product judgement alongside standard metrics.
A performance budget is a constraint, not a report
A budget says what the application is allowed to spend.
Examples:
Initial route JS: <= 180 KB compressed
Initial CSS: <= 60 KB compressed
LCP image: <= 180 KB at mobile candidate
Third-party JS: <= 100 KB initial
Synthetic mobile LCP: <= 2.5 s under defined profile
Long tasks during startup: <= agreed threshold
The exact numbers are product-specific. Do not copy these example numbers blindly.
The useful property is that the budget creates a conversation before the page becomes indefinitely heavier.
Budget the causes as well as the outcomes
If you gate only LCP, a noisy synthetic run can make CI frustrating and it may not tell the developer what changed.
Pair outcome metrics with controllable budgets:
- JS/CSS transfer size;
- number/size of critical images;
- third-party additions;
- route chunk growth;
- request count where relevant;
- critical resource waterfalls;
- Lighthouse/synthetic metric trends.
Then a PR can say:
checkout initial JS: 176 KB -> 248 KB (+72 KB, budget exceeded)
That is much easier to act on than “performance score fell from 94 to 88”.
Put bundle budgets in CI
Most build systems can expose asset sizes. Fail or warn when critical bundles cross agreed limits.
The policy might distinguish:
- hard cap — build fails;
- warning threshold — PR receives a warning;
- approved exception — requires explicit review and a reason.
Exceptions matter. Sometimes a feature is worth 40 KB.
A budget should force the trade-off into the open, not prohibit product development.
Store baselines by route
A single site-wide budget is too crude for many products.
Your article page and analytics dashboard have different jobs.
Define representative routes:
/
/pricing
/guides/example
/product/example
/checkout
/app/dashboard
Test the pages that matter, including authenticated flows where your CI environment can do so safely.
Do not optimise the homepage because it is easy to test while ignoring the route that earns the money.
Synthetic CI is a regression detector, not field truth
Lighthouse CI or another synthetic system can run on every pull request/release under controlled conditions.
That is valuable because field data arrives later and contains natural variability.
But synthetic results are still synthetic.
Use them to answer:
“Did this change obviously make the controlled test worse?”
Use RUM to answer:
“Did real users get a better or worse experience?”
You need both loops.
Make synthetic tests reproducible
Performance tests are noisy when their environment is noisy.
Control as much as practical:
- test hardware/runner class;
- network/CPU profile;
- browser version;
- warm/cold cache assumptions;
- page data/fixtures;
- third-party behaviour;
- number of runs and aggregation method.
Do not fail a release because one shared CI runner had a bad minute.
Use repeated runs and sensible thresholds/tolerances.
RUM is the production truth layer
Collect LCP, INP and CLS from real sessions and enrich them with non-sensitive engineering context.
Useful dimensions include:
- route/template;
- release version;
- device class;
- browser;
- geography;
- experiment cohort;
- connection hints where available;
- LCP element attribution;
- INP interaction attribution;
- layout-shift sources.
The release version is especially important.
Without it, a regression chart tells you when things got worse. With it, you can often identify which deployment introduced the change.
Tag every release in performance telemetry
Expose an application version/build ID:
const release = '2026.08.31.4';
and include it with performance events.
Now your dashboard can show:
release 2026.08.31.3: p75 INP 168 ms
release 2026.08.31.4: p75 INP 287 ms
That turns performance from an archaeological exercise into incident investigation.
If you use feature flags, capture relevant flag/experiment context too — carefully, without creating high-cardinality chaos or leaking user data.
Alert on meaningful changes, not every wiggle
Field metrics vary.
If your alert fires every time p75 LCP moves from 2.31 to 2.36 seconds, engineers will mute it.
Design alerts around:
- sustained threshold breaches;
- statistically/materially meaningful regression;
- high-traffic critical routes;
- release-to-release deltas;
- sample-size minimums.
Different routes can have different severity.
A 500 ms INP regression on checkout deserves a different response from a small change on an internal low-traffic help page.
Monitor distribution, not only p75
The 75th percentile aligns with Core Web Vitals assessment, but engineering benefits from more context.
Track:
- median;
- p75;
- p90/p95 where useful;
- sample count;
- good/needs-improvement/poor percentages.
A stable p75 can hide a deteriorating slow tail. Conversely, a tiny sample can make a percentile look dramatic.
Dashboards should help people reason, not merely display a compliance number.
Segment mobile hardware and geography
A release may look unchanged globally while becoming much worse for low-end devices.
If your audience spans regions, origin/CDN latency can also produce very different LCP profiles.
Useful segmentation reveals these cohorts.
Avoid excessive cardinality. You want actionable groups, not one dashboard series per unique phone model.
Own third-party performance like first-party performance
Create a review process for new external scripts.
A vendor request should answer:
- what user/business outcome does this provide?
- which routes need it?
- when does it need to load?
- what is its transfer/execution cost?
- what data/privacy implications exist?
- who owns removing it if the contract ends?
Then monitor third-party changes in production.
A vendor can change its payload without your repository changing at all.
Performance needs an owner, but not a performance silo
Someone should own the system:
- dashboards;
- budgets;
- tooling;
- standards;
- incident coordination.
But individual feature teams should own regressions in their routes/components.
If one “performance person” is expected to clean up everybody else’s work after release, the organisation has created a bottleneck rather than a culture.
Make performance part of normal engineering acceptance criteria.
Build a regression playbook
When an alert fires, engineers should not invent the process from scratch.
A useful playbook:
1. Confirm the signal
Check sample size, data pipeline and whether the regression is sustained.
2. Correlate with releases/flags/vendors
Find what changed.
3. Identify the metric’s attribution
LCP element, slow INP interaction, CLS source.
4. Reproduce under representative conditions
Use DevTools/synthetic tracing.
5. Decide mitigation
Rollback, disable flag/vendor, hotfix or accept temporarily with owner/deadline.
6. Verify recovery
Synthetic first, then RUM as data arrives.
7. Prevent recurrence
Add a budget/test/architecture rule if the same class of issue could return.
That last step is how incidents improve the system.
Performance budgets belong in design too
Some regressions are already inevitable before code review.
If a design specifies:
- autoplay 4K video;
- five web-font families;
- three above-the-fold carousels;
- embedded social feeds;
- elaborate entrance animations;
engineering cannot magically deliver the same experience at zero cost.
Bring performance constraints into design/product conversations early.
Ask what creates the user value and what can be progressive/lazy/optional.
Do not turn budgets into games
Any metric used as a target can be gamed.
Teams might:
- move code just after the measured window;
- remove useful functionality;
- test unrealistically powerful hardware;
- exclude slow routes;
- lazy-load content users need immediately.
The antidote is keeping real-user experience as the objective and using multiple signals.
If a change improves a CI score while users complain that the page feels worse, the score is not winning the argument.
Review budgets as the product evolves
A budget is not sacred forever.
A new feature may justify more JavaScript. A browser/platform improvement may let you tighten a target. A new market may introduce slower typical devices and make an existing target more important.
Review budgets periodically, but require evidence for loosening them.
“We keep exceeding it” is not evidence that the budget is wrong. It may be evidence that the architecture is getting heavier.
A practical dashboard
For each important route family, show:
| Signal | Why |
|---|---|
| p75 LCP | Loading experience |
| p75 INP | Responsiveness |
| p75 CLS | Stability |
| Good CWV rate | Overall user distribution |
| Release markers | Attribution |
| LCP element | Diagnosis |
| Slow INP target | Diagnosis |
| CLS source | Diagnosis |
| Initial JS/CSS | Cause/budget |
| Third-party cost | Cause/governance |
| Sample count | Confidence |
Then allow device/geography/release drill-down.
That is far more useful than one giant green/red “performance score” tile.
Make technical quality observable
Use SiteTidy for repeatable site audits alongside CI and RUM. The aim is to catch drift continuously rather than rediscovering the same problems during the next optimisation project.
The complete Core Web Vitals operating model
After this series, the workflow should look like this:
- Measure real users and segment by route/device.
- Identify the failing metric and attribution.
- Reproduce in lab tooling.
- Fix the correct layer — server, discovery, media, JavaScript, rendering, layout or interaction.
- Verify synthetically.
- Release with a version marker.
- Verify in RUM.
- Add a budget/regression guard where practical.
- Keep monitoring.
That is much more durable than “run Lighthouse and fix the red recommendations.”
Final checklist
- define performance objectives for critical routes;
- create asset and metric budgets;
- run repeatable synthetic checks in CI;
- monitor real-user LCP, INP and CLS;
- capture attribution, not just values;
- attach release versions to telemetry;
- alert on sustained/material regressions;
- segment by meaningful device/geography cohorts;
- govern third-party additions;
- assign route/component ownership;
- maintain a regression playbook;
- include performance in product/design decisions;
- review budgets periodically;
- keep field experience above benchmark scores.
A fast website is not a finished state. It is an engineering property that can be preserved or eroded with every release.
Build the feedback loops, and performance stops being a cleanup exercise. It becomes part of how the product is built.
