Lighthouse Report Diff: Audit Changes & Budgets
Pricing
$3.00 / 1,000 comparable report pair delivereds
Lighthouse Report Diff: Audit Changes & Budgets
Compare existing Lighthouse or PageSpeed JSON reports. Exact audit score/mode/value changes, category deltas and unit-aware budgets. Refuses mismatched test settings. Supply before/after reports; this tool does not run website audits.
Pricing
$3.00 / 1,000 comparable report pair delivereds
Rating
0.0
(0)
Developer
Paul Couach
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Lighthouse Report Diff
Compare existing Lighthouse JSON reports and see exactly which audits changed between releases. Get audit score, scoring-mode and numeric-value differences, category deltas, and explicit budget checks in one row per comparable pair.
Supply the before and after reports yourself. This Actor does not visit websites, launch Chrome, call PageSpeed Insights or generate fresh audits. It is useful when your CI pipeline already runs Lighthouse or you have downloaded PageSpeed JSON and want a structured comparison in Apify, Make or n8n. It is an independent tool, with no affiliation to Google.
Compare your reports
- Export raw JSON from Lighthouse 12 or 13, or use a PageSpeed Insights response containing
lighthouseResult. Flattened score exports from other tools are insufficient. - Replace the example in Before and after report pairs with your reports. Keep both reports under the same label.
- Add budgets if you need explicit limits, then run the Actor.
- Read the dataset for comparable pairs and the
SUMMARYrecord for incompatible, invalid or deferred pairs.
The default input contains two original synthetic reports for example.com. It demonstrates slower LCP and fixed color contrast. It is not a measurement of that website. Replace the entire example pair for your own results. A run of the example delivers one comparison event.
The input shape is:
{"pairs": [{"label": "homepage-mobile-release","before": { "lighthouseResult": "replace with the complete before object" },"after": { "lighthouseResult": "replace with the complete after object" }}],"budgets": {"minCategoryScores": { "performance": 85 },"maxMetricValues": { "largest-contentful-paint": 2500 },"maxMetricIncreases": { "largest-contentful-paint": 500 }},"allowDifferentUrls": false,"maxItems": 10}
The strings above are placeholders, not runnable reports. The Store's prefilled input is a complete runnable example. For a raw Lighthouse report, put the report object directly in before or after without a wrapper.
Reports need lighthouseVersion, requestedUrl, a final document URL, fetchTime, configSettings, environment, audits and categories. Only stable Lighthouse 12.x and 13.x navigation reports are supported. Snapshot and timespan reports, runtime errors and incomplete scored audits are rejected. Screenshots and audit detail tables are ignored; remove them before submitting large reports.
Understand the result
Each delivered pair includes:
| Field | Meaning |
|---|---|
verdict | regression, inconclusive or no_regression_detected |
auditChanges | Every changed audit ID with before/after score (0–1), mode, numericValue, numericUnit, and numeric delta when both units match |
categoryChanges | Changed category scores on a 0–100 scale and their deltas |
budgetChecks | Each requested check with native-unit value, threshold, and pass, fail or unavailable |
scoreRegressions | Count of declining audit scores plus declining category scores; these can describe the same underlying issue |
failedBudgets | Number of explicit budget failures |
incompleteReasons | Coverage changes, scoring-mode changes, audit errors, changed numeric units, unavailable budgets, null category scores or Lighthouse warnings |
beforeUrl, afterUrl | Final document URLs with query strings and fragments removed |
sameUrls, URL hashes | Whether requested, document and displayed URL identities all matched, including query values; hashes distinguish hidden query differences |
Report/config hashes, timestamps, benchmarkRatio | Provenance of the normalized data actually compared, not hashes of full input files |
runWarningCounts | Counts of original Lighthouse warnings; inspect your source reports for their text |
A lower audit score in binary, numeric or metricSavings mode, a lower category score, or a failed budget, produces regression. A known regression takes precedence even if incompleteReasons is nonempty. With no known regression, incomplete coverage produces inconclusive. Otherwise the result is no_regression_detected within the fields this tool compares.
Original audit values are preserved; numeric deltas and category scores are rounded to eight decimal places.
These are exact differences, without score-drop tolerance, noise filtering or statistical confirmation. A small numerical score decline can be normal Lighthouse variation. A numeric metric increase alone does not cause a regression verdict unless its audit/category score declines or you set an applicable budget. Set budgets in your automation and inspect budgetChecks if you want your own release policy; the Actor's run status does not block a deployment for you.
Audit changes distinguish score_regressed, score_improved, became_unscored, became_scored, added, removed and value_or_mode_changed. A removed check, null score, manual check or not-applicable check is never counted as a fixed failure. Lighthouse can store a numeric score of 1 on informative checks; that raw value is preserved but never treated as a passing scored audit. Manual/informative/not-applicable checks that remain unchanged do not themselves make the comparison inconclusive. Changed scoring modes do.
The comparison covers scores, scoring modes, numeric values/units and category membership/weights. It does not diff DOM nodes, descriptions, screenshots, detail tables, recommendations or translated titles. A text or affected-element change with identical numeric fields is outside its scope. It does not produce a CrUX/field-data verdict or measure INP.
Compare equivalent tests
A pair is incomparable when any of these changes:
- Exact Lighthouse version, including patch version.
- Any field in
configSettings, including locale, device, throttling, categories and custom settings. Object key order is ignored; array order is retained. - Category IDs or category audit membership/weights. Changing test coverage cannot masquerade as a site improvement.
- Exact
environment.hostUserAgentorenvironment.networkUserAgent. - Host
benchmarkIndexratio greater than 1.20. Both reports need positive finite benchmark values. - Requested, final document or final displayed URL identity, including query strings. Fragments are ignored and default ports/empty paths normalized.
configSettings must contain formFactor, throttlingMethod, screenEmulation and throttling. throttlingMethod accepts Lighthouse's simulate, devtools and provided values. Browser environment/configuration must be recorded explicitly; missing information is not guessed. These conservative checks may reject legitimate comparisons, such as reports from a patched browser or different CI hosts. Generate both reports under the same conditions if that happens. Passing the checks does not prove identical network, CPU load, cache or page content.
For an intentional staging/production comparison, set allowDifferentUrls: true and pair the right reports yourself. All other compatibility checks still apply. It also permits a changed redirect/display route, so inspect sameUrls and your source reports before accepting the result.
Set budgets in native units
minCategoryScores uses category IDs and numbers from 0 to 100. The other two groups accept these audit IDs:
| Audit ID | Unit |
|---|---|
first-contentful-paint | milliseconds |
largest-contentful-paint | milliseconds |
speed-index | milliseconds |
total-blocking-time | milliseconds |
server-response-time | milliseconds |
cumulative-layout-shift | unitless |
total-byte-weight | bytes |
maxMetricValues checks the after value. maxMetricIncreases checks after minus before; negative means a decrease. Equality passes. Both use the report's raw numericValue, without seconds/kilobyte conversions. The reported numericUnit must match the expected Lighthouse unit. A missing value, wrong unit or audit error produces unavailable, not a fabricated zero or passing check. Unknown metric-budget IDs are input errors. All budget values must be finite and nonnegative.
Price and limits
$0.003 per comparable pair delivered ($3 per 1,000). An unchanged or inconclusive comparable pair is charged too. Incompatible/invalid pairs have no result fee and appear only in SUMMARY. There are no run-start, input-file, audit-item or separate budget fees. The current Pricing tab is authoritative. Generating the original reports is outside this price and this Actor.
Submit 1–10 pairs per run, at most 5 MiB per report and 16 MiB for the whole JSON input. Each report supports at most 5,000 audits and 20 categories. Numeric audit values must be finite and within ±1e15. Labels are at most 120 characters. maxItems defaults to 10 and limits delivered comparisons; pairs beyond it or the platform charging limit are marked deferred without a result fee. Submit those pairs again to deliver them. There is no saved baseline or resume state.
An invalid pair does not stop valid pairs. A run where every pair is invalid fails with a clear status message and free per-pair diagnostics in SUMMARY. A run containing only incompatible pairs completes successfully with an empty dataset and the reasons in SUMMARY; this is not a completed comparison.
Input reports remain in your Apify run input subject to your storage/retention settings. Remove credentials, screenshots and unnecessary private material before submitting. The output omits raw URLs' query/fragment values, browser strings, HTTP headers, DOM snippets and original warning text. URL paths, labels and report timestamps remain. Only Apify storage/billing APIs are used; no report is sent to Google, a website or an outside AI service.
For an issue, include the affected pair number, the free SUMMARY diagnostic and a sanitized minimal report pair. Never post tokens or a private full report in a public issue.