Get desktop application:
View/edit binary Protocol Buffers messages
Message containing the result of an individual Lighthouse audit.
Used in:
The internal audit id
A brief description of the audit. The text can change depending on if the audit passed or failed.
A more detailed description that describes why the audit is important and links to Lighthouse documentation on the audit; markdown links supported.
The scored value determined by the audit, in the range `0-1`, or NaN if `score_display_mode` indicates not scored. This value is nullable, so is a `Value` type
The mode for how the score should be interpreted.
The human readable value that is displayed as the audit's result
An explanation of audit-related issues encountered on the test page.
Error message from any exception thrown while running this audit.
Extra information provided by some types of audits. Given as an arbitrary object.
List of warnings associated with this audit type of `Value` since this can be null
A numeric value that has a meaning specific to the audit, e.g. the number of nodes in the DOM or the timestamp of a specific load event. More information can be found in the audit details, if present.
The unit of the numeric_value field. Used to format the numeric value for display.
Stacktrace of error, if any occurred while processing the audit.
The audit's MetricSavings.
The audit's ScoringOption.
An audit's guidance level.
Audits that this audit replaces.
Message containing the audit's MetricSavings.
Used in:
Optional numeric value representing the audit's savings for the LCP metric.
Optional numeric value representing the audit's savings for the FCP metric.
Optional numeric value representing the audit's savings for the CLS metric.
Optional numeric value representing the audit's savings for the TBT metric.
Optional numeric value representing the audit's savings for the INP metric.
Message containing ScoringOptions.
Used in:
Scoring option's p10.
Scoring option's median.
Message containing a category
Used in:
The human readable title of the group
The description of what the category is grouping
Message containing the i18n data for the LHR - Version 1
Used in:
The message holding all formatted strings used in the renderer.
Holds all message paths used. The locale of the report has already be used to translated the strings in this LighthouseResult, but this field can be used to translate into another language.
Message holding the formatted strings used in the renderer
Used in:
The disclaimer shown below a performance metric value
The heading for the estimated page load savings opportunity of an audit
The heading for the estimated page load savings of opportunitu audits
The error string shown next to an erroring audit
The label shown next to an audit or metric that has had an error
The label shown above a bulleted list of warnings
The tooltip text on an expandable chevron icon
The heading that is shown above a list of audits that are passing
The heading shown above a list of audits that do not apply to a page
The heading shown above a list of audits that were not computerd in the run
The label shown preceding important warnings that may have invalidated an entire report
The label that explains the score gauges scale (0-49, 50-89, 90-100)
The label for values shown in the summary of critical request chains
The label for the initial request in a critical request chain
The disclaimer shown under performance explaining that the network can vary
The title of the lab data performance category
The heading that is shown above a list of audits that have warnings
The label for the button to show all lines of a snippet
The label for the button to show only a few lines of a snippet
This label is for a filter checkbox above a table of items
Descriptive explanation for emulation setting when emulating a generic desktop form factor, as opposed to a mobile-device like form factor.
Descriptive explanation for emulation setting when emulating a Nexus 5X mobile device.
Descriptive explanation for emulation setting when no device emulation is set.
Label for a row in a table that shows the estimated CPU power of the machine running Lighthouse. Example row values: 532, 1492, 783.
Label for a row in a table that describes the CPU throttling conditions that were used during a Lighthouse run, if any.
Label for a row in a table that describes the kind of device that was emulated for the Lighthouse run. Example values for row elements: 'No Emulation', 'Emulated Desktop', etc.
Label for a row in a table that shows the time at which a Lighthouse run was conducted; formatted as a timestamp, e.g. Jan 1, 1970 12:00 AM UTC.
Label for a row in a table that describes the network throttling conditions that were used during a Lighthouse run, if any.
Title of the Runtime settings table in a Lighthouse report. Runtime settings are the environment configurations that a specific report used at auditing time.
Label for a row in a table that shows the User Agent that was detected on the Host machine that ran Lighthouse.
Label for a row in a table that shows the User Agent that was used to send out all network requests during the Lighthouse run.
Label for a row in a table that shows the URL that was audited during a Lighthouse run.
Descriptive explanation for a runtime setting that is set to an unknown value.
Option in a dropdown menu that copies the Lighthouse JSON object to the system clipboard.
Option in a dropdown menu that toggles the themeing of the report between Light(default) and Dark themes.
Option in a dropdown menu that opens a full Lighthouse report in a print dialog.
Option in a dropdown menu that opens a small, summary report in a print dialog.
Option in a dropdown menu that saves the current report as a new GitHub Gist.
Option in a dropdown menu that saves the Lighthouse report HTML locally to the system as a '.html' file.
Option in a dropdown menu that saves the Lighthouse JSON object to the local system as a '.json' file.
Option in a dropdown menu that opens the current report in the Lighthouse Viewer Application.
Label for button to create an issue against the Lighthouse GitHub project.
Descriptive explanation for environment throttling that was provided by the runtime environment instead of provided by Lighthouse throttling.
Label for a row in a table that shows in what tool Lighthouse is being run (e.g. The lighthouse CLI, Chrome DevTools, Lightrider, WebPageTest, etc).
Text link pointing to the Lighthouse scoring calculator. This link immediately follows a sentence stating the performance score is calculated from the perf metrics.
Label for a row in a table that shows the version of the Axe library used
Label for a button that opens the Treemap App
Label preceding a radio control for filtering the list of audits. The radio choices are various performance metrics (FCP, LCP, TBT), and if chosen, the audits in the report are hidden if they are not relevant to the selected metric.
Descriptive label that this analysis run was from a single pageload of a browser (not a summary of hundreds of loads)
Descriptive explanation that this analysis run was from a single pageload of a browser, whereas field data often summarizes hundreds+ of page loads
Descriptive label that this analysis only considers the initial load of the page, and no interaction beyond when the page had "fully loaded"
Label for an interactive control that will reveal or hide a group of content. This control toggles between the text 'Show' and 'Hide'.
Label for an interactive control that will reveal or hide a group of content. This control toggles between the text 'Show' and 'Hide'.
Label for an interactive control that will reveal or hide a group of content. This control toggles between the text 'Expand view' and 'Collapse view'.
Label for an interactive control that will reveal or hide a group of content. This control toggles between the text 'Expand view' and 'Collapse view'.
Label indicating that Lighthouse throttled the page to emulate a slow 4G network connection.
Label indicating that Lighthouse throttled the page using custom throttling settings.
This label is for a button that will show the user a trace of the page.
This label is for a button that will show the user a trace of the page.
Label for a row in a table that shows the screen emulation used
Label for a row decorative chip indiciating entity is first-party.
Label for a link tooltip indicating that it will be opened in a new tab of the browser.
Label for a generic category for all resources that could not be attributed against a 1st or 3rd party entity.
This label is for a button that will show the user a trace of the page.
Descriptive label that this analysis considers some arbitrary period of time containing user interactions
Descriptive label that this analysis considers a snapshot of the page at a single point in time
Message for PWA deprecation.
Option in a dropdown menu that toggles the performance audits between new insights from RPP and legacy perf audits.
Notice about upcoming planned changes to Lighthouse, to replace most performance audits with a new set of "insight" audits.
Text for a button to try out "Performance insight audits", a new set of performance advice that will replace performance audits.
Text for a button for going back to normal "Performance audits", instead of using the new set of performance insight audits that will replace performance audits.
Message containing a category of audits and their combined weighted score.
Used in:
the internal id of the category
The human-friendly name of the category.
A description of what this category is about (e.g. these help you validate your seo).
The overall score of the category, the weighted average of all its audits, from 0-1. This value is nullable, so is a `Value` type
An description for manual audits within this category.
References to all the audit members and their weight in this category.
List of gather modes this category is available in.
A Category's reference to an AuditResult, with a weight for category scoring.
Used in:
Matches a key in the top-level `audits` map.
The weight of the audit's score in the overall category score.
The category group that the audit belongs to.
The conventional acronym for the audit/metric.
Any audit IDs closely relevant to this one.
Message containing an Entity.
Used in:
Name of the entity.
An optional homepage URL of the entity.
An optional category name for the entity.
An optional flag indicating if the entity is the first party.
An optional flag indicating if the entity is not recognized.
A list of URL origin strings that belong to this entity.
Canonical list of errors created by Lighthouse.
Used in:
No error in Lighthouse; the results are reliable.
An uncategorized error occurred, likely a JavaScript exception.
The trace did not contain any screenshot events.
No visual change between the beginning and end of load.
The trace did not contain any screenshot events.
The computed speedindex results are non-finite.
The trace did not contain a TracingStartedInPage event.
The trace did not contain a navigationStart event.
The trace did not contain a firstContentfulPaint event.
The trace did not contain a domContentLoaded event.
No network request could be identified as the primary HTML document.
The HTML document's network request failed due to Chrome-internal reasons (canceled, blocked, etc).
The HTML document's network request completed, but returned an HTTP status code of 4xx or 5xx.
Chromium's tracing controller did not manage to begin tracing across processes. Typically fixed by restarting Chromium.
The trace data wasn't parsed correctly.
The trace data failed to stream over the protocol.
Used when security error prevents page load.
Used when protocol command times out.
Used when the page is not responding after maxWaitForLoad.
DNS failure on main document (no resolution, timed out, etc)
A timeout in the initial connection to the debugger protocol.
The page requested was not HTML.
The trace did not contain a ResourceSendRequest event.
Used when any Chrome interstitial error prevents page load.
The page has crashed and will no longer respond to 99% of CDP commmands.
The overarching Lighthouse Response object (LHR) https://github.com/GoogleChrome/lighthouse/blob/main/types/lhr.d.ts
The timestamp of when the results were generated.
The url requested to lightrider.
The final analyzed URL, differs from requested_url when there were redirects.
The version of Lighthouse with which these results were generated.
The environment that the audit was run in
The user agent that was used to run the audit
Any top level warnings that this run encountered default is [] hence ListValue
A runtime error that was encountered during the run
A map containing the results of the audits, keyed by audit id. Audits may be referenced within more than one category.
A map containing the categories of audits, keyed by category id.
A map containing groups that categories can belong to, keyed by group id
The settings that were used to run this audit
i18n info in version 1 message format
The performance timing data for the Lighthouse run
The Stack Pack data used by audits in this run.
Gather mode used to collect artifacts.
URL of the main document request of the final navigation.
URL displayed on the page after Lighthouse finishes.
Screenshot data of the full page, along with node rects relevant to the audit results.
Entity classification data.
Message containing the configuration settings for the LH run Next ID: 11
Used in:
Removed in v7. Do not use.
How Lighthouse should interpret this run in regards to scoring performance metrics and skipping mobile-only tests in desktop.
The locale that was active during the audit
List of the categories that were run, empty if all were run nullable list of strings
How Lighthouse was run, e.g. from the Chrome extension or from the npm module
The throttling config settings.
The method used to throttle the network.
Screen emulation properties (width, height, dpr, mobile viewport) to apply or an object of `{disabled: true}` if Lighthouse should avoid applying screen emulation. If either emulation is applied outside of Lighthouse, or it's being run on a mobile device, it typically should be set to disabled. For desktop, we recommend applying consistent desktop screen emulation.
Indicating whether Lighthouse should ignore status codes.
The possible form factors an audit can be run in. This enum served the emulated_form_factor field, but in v7, that field was deprecated. Meanwhile in v7, the form_factor field was added and has a mobile/desktop enum, so we simplify reuse, minus the `none` option. See https://github.com/GoogleChrome/lighthouse/blob/main/docs/emulation.md#changes-made-in-v7
Used in:
Used in:
Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override.
Overriding device scale factor value. 0 disables the override.
Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more.
Whether screen emulation is disabled. If true, the other emulation settings are ignored.
Next ID: 7
Used in:
The round trip time in milliseconds.
The network throughput in kilobits per second.
The network request latency in milliseconds.
The network download throughput in kilobits per second.
The network upload throughput in kilobits per second.
The amount of slowdown applied to the cpu (1/<cpuSlowdownMultiplier>).
Message containing environment configuration for a LH run
Used in:
The user agent that was used by the network
The user agent used by the host
The benchmark index that indicates rough device class
The version of libraries with which these results were generated. Ex: axe-core.
Message containing a runtime error config
Used in:
The text repr of the error type
The error explanitory message
Message containing the performance timing data for the Lighthouse run
Used in:
The total duration of Lighthouse's run
Corresponds to: https://www.w3.org/TR/performance-timeline-2/#idl-def-performanceentrylist
Corresponds to: https://www.w3.org/TR/performance-timeline-2/#dom-performanceentry
Used in:
Whether timing entry was collected during artifact gathering.
The ways an audit score should be interpreted:
Used in:
Unknown mode. This should not be used.
Pass/fail audit (0 and 1 are the only possible scores).
Scores of 0-1, inclusive.
Audit result score is determined by the metric savings and product score. 1 - audit passed 0.5 - audit failed and had no metric savings 0 - audit failed and had metric savings
The audit is an FYI only, and can't be interpreted as pass/fail. Score is NaN and should be ignored.
The audit turned out to not apply to the page. Score is NaN and should be ignored.
The audit exists only to tell you to review something yourself. Score is NaN and should be ignored
There was an error while running the audit (check `error_message` for details). Score is NaN and should be ignored.
Message containing Stack Pack information.
Used in:
The human readable id of the Stack Pack.
The user facing title of the Stack Pack.
The icon as a data url.
Map of audit-ids to Stack Pack descriptions.