Generate a Lighthouse budget.json from the published thresholds or from where your metrics are now, so a budget gets enforced rather than read once.
5 budgets written
LCP, CLS, TBT, FCP, TTFB have no current value, so they fall back to the published threshold rather than being invented.
Good at or below 2.50 s
Good at or below 0.1
Good at or below 200 ms
Good at or below 1.80 s
Good at or below 800 ms
Good at or below 3.40 s
INP is absent because a timings budget is checked against a lab run and INP needs a real person interacting. Total Blocking Time is the lab stand-in and is included instead.
No current value given, so this is the published threshold rather than a figure derived from your page.
No current value given, so this is the published threshold rather than a figure derived from your page.
No current value given, so this is the published threshold rather than a figure derived from your page.
No current value given, so this is the published threshold rather than a figure derived from your page.
No current value given, so this is the published threshold rather than a figure derived from your page.
[
{
"path": "/*",
"timings": [
{
"metric": "largest-contentful-paint",
"budget": 2500
},
{
"metric": "total-blocking-time",
"budget": 200
},
{
"metric": "first-contentful-paint",
"budget": 1800
},
{
"metric": "server-response-time",
"budget": 800
}
]
}
]A budget set at the good thresholds on a page nowhere near them fails from the first run, and a check that always fails gets switched off within a week. Holding the current values is usually the right first budget: it stops things getting worse today, and the targets can be tightened as the numbers improve.
Performance Budget Generator runs entirely on your device — the budget is assembled in your browser and your numbers are never uploaded.
You’re on the Free plan. Compare plans
A budget written as prose is read once and forgotten; a budget.json committed to the repository is checked on every Lighthouse run and fails when it is breached. The output here is the real documented format for that reason — a tool that produced a nicely formatted list would have produced nothing enforceable.
Holding the current values is usually the right first budget. A budget set at the good thresholds on a page that is nowhere near them fails from the first run, and a check that always fails gets switched off within a week. Setting each budget a little above where the metric is now stops things getting worse immediately, and the targets can be tightened as the numbers improve.
A budget on a metric you have not measured is a guess, so where no current value is supplied the tool falls back to the published threshold and says that it has. INP is absent entirely, because a timings budget is checked against a lab run and INP needs a real person interacting; Total Blocking Time is the lab stand-in and is included instead.
Because a list gets read once. budget.json is a documented format that Lighthouse and Lighthouse CI read directly, so the budget is checked on every run and fails the build when it is breached — which is the only version of a budget that changes anything.
Usually "hold the current values". A budget set at the good thresholds on a page nowhere near them fails from the first run, and a check that always fails gets switched off within a week. Holding current values stops things getting worse today, and you tighten it as the numbers improve.
Because a timings budget is checked against a lab run, and INP needs a real person interacting with the page. Total Blocking Time is the lab stand-in and is included instead — it correlates with INP without being the same metric.
The budget falls back to the published threshold for that metric, and the tool says it has done so. Inventing a plausible-looking figure from nothing would produce a budget that looks measured and is not.
No. The file is assembled in your browser.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab