Skip to content

A CLI tool for running multiple lighthouse tests on a website and generating an avarage score perfomance metrics.

License

Notifications You must be signed in to change notification settings

teooliver/rust-lighthouse-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-lighthouse-utils

A CLI tool for running multiple lighthouse tests on a website and generating an avarage score perfomance metrics.

It generates a json, html and csv reports.

Documentation:

You'll need to have Node and lighthouse installed in your computer:

  npm i -g lighthouse

Run:

cargo run -- --config <path_to_config>

rlu --config <path_to_config>

rlu --test-url=<url> --runs 5

Options:

--config // path to config file --url // site url --out-name // name to prefix the files --runs // number of test runs to calculate the avarage reports

TODO: --verbose // give the results for all runs + the avarage

  • Better error handling all around
  • Fix bug where trying to parse strings like "223,43" to i32.

About

A CLI tool for running multiple lighthouse tests on a website and generating an avarage score perfomance metrics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages