yarn global add benchy-cli
$ benchy audit <urls...>
Launch lighthouse audits for <urls...>
and show report in the terminal. Multiple URLs can be provided.
-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.
$ benchy list
List all saved audits.
$ benchy report website_A website_B
Compare saved audits.
┌─────────────┬────────────────┬────────────────┐
│ │ website_A │ website_B │
├─────────────┼────────────────┼────────────────┤
│ metric │ 2859ms │ 2264ms │
│ ├────────┬───────┼────────┬───────┤
│ │ stdev │ - │ stdev │ diff |
└─────────────┴────────┴───────┴────────┴───────┘
$ benchy clean
Delete all audits.