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 plots: measure and visualize perf metrics (#1936) 2017-04-07 16:02:19 -07:00
clean.js plots: measure and visualize perf metrics (#1936) 2017-04-07 16:02:19 -07:00
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 plots: metrics-per-site view (#2041) 2017-04-20 14:46:13 -07:00
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 plots: measure and visualize perf metrics (#1936) 2017-04-07 16:02:19 -07:00

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