60fps or It Didn't Happen: Performance Budgets That Actually Work
Performance isn't a feature — it's a budget. Here's how to set and enforce one.
Performance is a budget, not a wish
Saying 'make it fast' produces slow apps. Saying 'every page renders within 100ms of interaction and scrolls at 60fps on a mid-range Android' produces a real, measurable contract that the whole team can hold.
Write the budget down, put it in the README, and enforce it in CI. A budget that isn't enforced is a suggestion; a suggestion loses to a deadline every time.
What to measure (and what to ignore)
Measure what users feel: first contentful paint, interaction latency, and frame rate during scroll and animation. Bundle size is a proxy, not the goal — a small bundle can still jank, and a large one can be lazy-loaded into invisibility.
For 3D and animation work, the frame budget is sacred: 16.6ms per frame, every frame. Cap device pixel ratio, drop post-processing on low-power devices, and pause offscreen work.
Enforce it in CI
Wire Lighthouse budgets and Web Vitals into your pipeline, and fail the build on regression. Teams don't hate performance budgets — they hate discovering them at launch. Make the safe path the fast path.