HTML & CSS · Senior · Question 19 of 75
What is a performance budget?
- 1The team's budget for CDN, hosting and paid monitoring tools
- ✓Correct answer: Agreed limits on metrics (JS weight, LCP) that are checked in CI
- 3The maximum number of animations and videos allowed on a page
Explanation
A performance budget fixes thresholds - e.g. "homepage JS ≤ 170 KB gzipped" or "LCP ≤ 2.5 s on 4G" - checked automatically (Lighthouse CI, size-limit, bundlesize). Regressions are caught before release, and decisions about new libraries take their cost into account.