diff --git a/lighthouse-core/config/perf.example-custom.json b/lighthouse-core/config/perf.example-custom.json new file mode 100644 index 000000000000..7c4033260900 --- /dev/null +++ b/lighthouse-core/config/perf.example-custom.json @@ -0,0 +1,69 @@ +{ + "passes": [{ + "network": true, + "trace": true, + "loadPage": true, + "gatherers": [ + "url", + "critical-request-chains", + "screenshots", + "speedline" + ] + }], + + "audits": [ + "first-meaningful-paint", + "speed-index-metric", + "estimated-input-latency", + "time-to-interactive", + "user-timings", + "screenshots", + "critical-request-chains" + ], + + "aggregations": [{ + "name": "Perf metrics", + "description": "", + "scored": true, + "categorizable": true, + "items": [{ + "name": "Page load performance is fast", + "description": "", + "criteria": { + "first-meaningful-paint": { + "rawValue": 100, + "weight": 1 + }, + "speed-index-metric": { + "rawValue": 100, + "weight": 1 + }, + "estimated-input-latency": { + "rawValue": 100, + "weight": 1 + }, + "time-to-interactive": { + "rawValue": 100, + "weight": 1 + } + } + }] + },{ + "name": "Performance diagnostics", + "description": "", + "scored": false, + "categorizable": false, + "items": [{ + "criteria": { + "critical-request-chains": { + "rawValue": 0, + "weight": 1 + }, + "user-timings": { + "rawValue": 0, + "weight": 1 + } + } + }] + }] +}