Skip to content

A CLI tool for comparing performance metrics between web pages with Lighthouse.

Notifications You must be signed in to change notification settings

briganti/benchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

benchy

A small CLI tool for comparing performance metrics between web pages with Lighthouse.

demo

Installation

yarn global add benchy-cli

Commands

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 list

List all saved audits.

Report

$ benchy report website_A website_B

Compare saved audits.

┌─────────────┬────────────────┬────────────────┐
│             │ website_A      │ website_B      │
├─────────────┼────────────────┼────────────────┤
│ metric      │ 2859ms         │ 2264ms         │
│             ├────────┬───────┼────────┬───────┤
│             │ stdev  │ -     │ stdev  │ diff  |
└─────────────┴────────┴───────┴────────┴───────┘

Clean

$ benchy clean

Delete all audits.

About

A CLI tool for comparing performance metrics between web pages with Lighthouse.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published