Skip to content

CLI to run web performance measurements [Work in Progress]

Notifications You must be signed in to change notification settings

UXPin/web-perf-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-perf-monitor (Work in Progress)

A simple project to automate the generation of reports about web performance for the following apps:

  • Dashboard
  • Editor
  • Preview

It uses Puppeteer to generate reports using Lighthouse.

Setup

Requirement: Node.js > v16

Create a file .env at the root level of your project and enter you email and password, used to run the login

[email protected]
PASSWORD=*******

Install dependencies

npm install

Running it

This will run Lighthouse against some URLs and display the performance score

npx ts-node --esm ./src/get-scores-simple.ts

About

CLI to run web performance measurements [Work in Progress]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published