@deogle/ballista
v0.5.1
Published
A command line tool for running Google Lighthouse tests on a series of URLs and generating a comparative tabular report.
Readme
Ballista
A minimal JS module and small CLI utility for running concurrent Lighthouse tests. Run multiple iterations across multiple URLs to reduce the friction of performance benchmarking.
Prerequisites (local development)
- Node.js version 16.16.0 or higher
- Google Chrome browser version 59 or higher
Installation
To install Ballista as a global cli tool, run the following command
npm install -g @deogle/ballistaOr to add the package as a dependency
npm install -S @deogle/ballistaAs an alternative to locally installing, the most recent version of the tool can be run directly from npm with npx
npx @deogle/ballista@latest <etc>Usage
The basic usage of the CLI tool follows the form
ballista -i 5 -c --url <baseline-url> <target-urls>Where
baseline-urlthe url being benchmarked against.target-urlsa space delimited list of urls to run test against the benchmark-crun in comparison mode-isets the number of iterations to run (the more iterations, the more accurate the results but the longer the total runtime).
