Skip to content

Commit

Permalink
Add custom config example. Just the perf stuff. (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored and samccone committed Aug 19, 2016
1 parent aee52c0 commit ef4044a
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions lighthouse-core/config/perf.example-custom.json
Original file line number Diff line number Diff line change
@@ -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
}
}
}]
}]
}

0 comments on commit ef4044a

Please sign in to comment.