Skip to content

Commit

Permalink
Update readme.md with trace changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Gerakis authored Aug 1, 2016
1 parent 9d9642c commit ab76af1
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,28 +71,32 @@ Lighthouse can be used to analyze trace and performance data collected from othe
##### `config.json`
```js
{
"audits": [
"user-timings",
"critical-request-chains"
],

"artifacts": {
"traceContents": "$HOME/code/lighthouse-core/test/fixtures/traces/trace-user-timings.json",
"performanceLog": "$HOME/code/lighthouse-core/test/fixtures/traces/perflog.json"
},

"aggregations": [{
"name": "Performance Metrics",
"description": "These encapsulate your app's performance.",
"scored": false,
"categorizable": false,
"items": [{
"criteria": {
"user-timings": { "rawValue": 0, "weight": 1 },
"critical-request-chains": { "rawValue": 0, "weight": 1}
}
}]
}]
"audits": [
"user-timings",
"critical-request-chains"
],

"artifacts": {
"traces": {
"defaultPass": {
"traceContents": "/User/me/lighthouse/lighthouse-core/test/fixtures/traces/trace-user-timings.json"
}
},
"performanceLog": "/User/me/lighthouse/lighthouse-core/test/fixtures/traces/perflog.json"
},

"aggregations": [{
"name": "Performance Metrics",
"description": "These encapsulate your app's performance.",
"scored": false,
"categorizable": false,
"items": [{
"criteria": {
"user-timings": { "rawValue": 0, "weight": 1 },
"critical-request-chains": { "rawValue": 0, "weight": 1}
}
}]
}]
}
```

Expand Down

0 comments on commit ab76af1

Please sign in to comment.