0.0.5 • Published 5 years ago
benchy-cli v0.0.5
A small CLI tool for comparing performance metrics between web pages with Lighthouse.

Installation
yarn global add benchy-cliCommands
Audit
$ benchy audit <urls...>Launch lighthouse audits for <urls...> and show report in the terminal. Multiple URLs can be provided.
Options
-c [NUM]- Number of audits per url. default: 1.-d- Output the Document Stats section.-p- Output the Page Metrics section.-i- Output the Interactive Metrics section.-l- Output the Layout Metrics section.-t- Output the Task section.
List
$ benchy listList all saved audits.
Report
$ benchy report website_A website_BCompare saved audits.
┌─────────────┬────────────────┬────────────────┐
│ │ website_A │ website_B │
├─────────────┼────────────────┼────────────────┤
│ metric │ 2859ms │ 2264ms │
│ ├────────┬───────┼────────┬───────┤
│ │ stdev │ - │ stdev │ diff |
└─────────────┴────────┴───────┴────────┴───────┘Clean
$ benchy cleanDelete all audits.