Skip to content

Commit ef4044a

Browse files
paulirishsamccone
authored andcommitted
Add custom config example. Just the perf stuff. (#603)
1 parent aee52c0 commit ef4044a

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"passes": [{
3+
"network": true,
4+
"trace": true,
5+
"loadPage": true,
6+
"gatherers": [
7+
"url",
8+
"critical-request-chains",
9+
"screenshots",
10+
"speedline"
11+
]
12+
}],
13+
14+
"audits": [
15+
"first-meaningful-paint",
16+
"speed-index-metric",
17+
"estimated-input-latency",
18+
"time-to-interactive",
19+
"user-timings",
20+
"screenshots",
21+
"critical-request-chains"
22+
],
23+
24+
"aggregations": [{
25+
"name": "Perf metrics",
26+
"description": "",
27+
"scored": true,
28+
"categorizable": true,
29+
"items": [{
30+
"name": "Page load performance is fast",
31+
"description": "",
32+
"criteria": {
33+
"first-meaningful-paint": {
34+
"rawValue": 100,
35+
"weight": 1
36+
},
37+
"speed-index-metric": {
38+
"rawValue": 100,
39+
"weight": 1
40+
},
41+
"estimated-input-latency": {
42+
"rawValue": 100,
43+
"weight": 1
44+
},
45+
"time-to-interactive": {
46+
"rawValue": 100,
47+
"weight": 1
48+
}
49+
}
50+
}]
51+
},{
52+
"name": "Performance diagnostics",
53+
"description": "",
54+
"scored": false,
55+
"categorizable": false,
56+
"items": [{
57+
"criteria": {
58+
"critical-request-chains": {
59+
"rawValue": 0,
60+
"weight": 1
61+
},
62+
"user-timings": {
63+
"rawValue": 0,
64+
"weight": 1
65+
}
66+
}
67+
}]
68+
}]
69+
}

0 commit comments

Comments
 (0)