lighthouse/plots
Sam Saccone b89d7c5761 Initial API extraction / limiting for launcher. 2017-05-15 12:35:12 -04:00
..
ab-screenshot Plots: A/B screenshot viewer (#2026) 2017-04-25 14:20:13 -07:00
README.md Migrate all dev scripts + docs from npm to yarn. (#2072) 2017-04-26 12:41:01 -07:00
analyze.js add lighthouse execution time to json results (#2241) 2017-05-12 22:44:53 -07:00
chart.js
clean.js
constants.js add lighthouse execution time to json results (#2241) 2017-05-12 22:44:53 -07:00
index.html plots: add a top-nav (#2242) 2017-05-12 23:42:20 -07:00
measure.js Initial API extraction / limiting for launcher. 2017-05-15 12:35:12 -04:00
metrics-per-site.html plots: add a top-nav (#2242) 2017-05-12 23:42:20 -07:00
metrics-per-site.js
open.js Plots: A/B screenshot viewer (#2026) 2017-04-25 14:20:13 -07:00
package.json Plots: A/B screenshot viewer (#2026) 2017-04-25 14:20:13 -07:00
utils.js

README.md

Lighthouse Metrics Analysis

Online at https://googlechrome.github.io/lighthouse/plots/

For context and roadmap, please see issue: https://github.com/GoogleChrome/lighthouse/issues/1924

Workflow

Setup

You need to build lighthouse first.

Generating & viewing charts

# View all commands
$ cd plots
$ yarn run

# Run lighthouse to collect metrics data
$ yarn measure

# Analyze the data to generate a summary file (i.e. out/generatedResults.js)
# This will launch the charts web page in the browser
$ yarn analyze

# If you need to view the charts later
$ yarn open