Skip to content

Node app that allows for changing the connection speed throttling in Google Lighthouse

Notifications You must be signed in to change notification settings

jordanpapaleo/lighthouse-performance-throttle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lighthouse Performance Throttle

The purpose of this project is to allow Google Lighthouse performance to be run with throttling other than 3g. It will output the performance score after each execution and write the complete report content to results.json.

Setup

This project requires NodeJS. It was built using NodeJS v14.15.3

  1. Clone the repository
  2. From the root of the project run npm install in your terminal

Use

This tool is execuded via the command line.

Cli flags:

  • --url: required | the url to test
  • --speed: optional | 3g 4g lte | defaults to 3g like the lighthouse service

Run the following command from the root of your project in your terminal.

node index.js --url https://mysite.com --speed lte

Links

About

Node app that allows for changing the connection speed throttling in Google Lighthouse

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published