-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plots: measure and visualize perf metrics (#1936)
- Loading branch information
1 parent
75d2768
commit c43eb09
Showing
18 changed files
with
809 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"passes": [{ | ||
"recordNetwork": true, | ||
"recordTrace": true, | ||
"pauseBeforeTraceEndMs": 5000, | ||
"useThrottling": true, | ||
"gatherers": [] | ||
}], | ||
|
||
"audits": [ | ||
"first-meaningful-paint", | ||
"speed-index-metric", | ||
"estimated-input-latency", | ||
"time-to-interactive" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Lighthouse Metrics Analysis | ||
|
||
For context and roadmap, please see issue: | ||
https://github.com/GoogleChrome/lighthouse/issues/1924 | ||
|
||
## Workflow | ||
|
||
### Setup | ||
|
||
You need to build lighthouse first. | ||
|
||
### Commands | ||
|
||
``` | ||
# View all commands | ||
$ cd plots | ||
$ npm run | ||
# Run lighthouse to collect metrics data | ||
$ npm run measure | ||
# Analyze the data to generate a summary file (i.e. out/generatedResults.js) | ||
$ npm run analyze | ||
# View visualization | ||
# Open index.html in browser | ||
``` |
Oops, something went wrong.