lighthouse
Version:
Automated auditing, performance metrics, and best practices for the web.
28 lines (25 loc) • 768 B
JavaScript
/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/** @type {LH.Config} */
const config = {
extends: 'lighthouse:default',
settings: {
maxWaitForFcp: 15 * 1000,
maxWaitForLoad: 35 * 1000,
throttling: {
// Determined using PSI CPU benchmark median and
// https://lighthouse-cpu-throttling-calculator.vercel.app/
cpuSlowdownMultiplier: 1.2,
},
skipAudits: [
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
'modern-http-insight',
// There are always bf-cache failures when testing in headless. Reenable when headless can give us realistic bf-cache insights.
'bf-cache',
],
},
};
export default config;