jordanpapaleo / lighthouse-performance-throttle

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 100.0%