UXPin / web-perf-monitor

CLI to run web performance measurements [Work in Progress]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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=your.email@uxpin.com
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]


Languages

Language:TypeScript 100.0%