HTML & CSS · Senior · Question 19 of 75

What is a performance budget?

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.

Further reading

Problem with a question

HTML & CSS · Senior · question 19

Test yourself

Take the HTML & CSS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz