Browser & Web Performance · Senior · Question 25 of 75
How should performance budgets be enforced in CI for reliable results?
- 1Only check performance manually before major releases
- 2Fail the build if any single Lighthouse run scores below 100
- ✓Correct answer: Use metrics with low variance (bundle size, request count) as hard limits and run timing metrics several times, comparing medians
Explanation
Timing metrics are noisy on shared CI machines. Byte budgets catch most regressions deterministically.