Lighthouse

Custom metrics

The performance metrics listed above are good for getting a general understanding of the performance characteristics of most sites on the web. They’re also good for having a common set of metrics for sites to compare their performance against their competitors.

However, there may be times when a specific site is unique in some way that requires additional metrics to capture the full performance picture. For example, the LCP metric is intended to measure when a page’s main content has finished loading, but there could be cases where the largest element is not part of the page’s main content and thus LCP may not be relevant.

To address such cases, the Web Performance Working Group has also standardized lower-level APIs that can be useful for implementing your own custom metrics:

Pages: 1 2

Leave a Reply

Your email address will not be published. Required fields are marked *