https://github.com/bboydflo/perf-matters
this repo contains some tools to extract/report performance of specific webpageges (wip)
https://github.com/bboydflo/perf-matters
performance-metrics performance-testing psi puppeteer
Last synced: 3 months ago
JSON representation
this repo contains some tools to extract/report performance of specific webpageges (wip)
- Host: GitHub
- URL: https://github.com/bboydflo/perf-matters
- Owner: bboydflo
- Created: 2021-06-09T10:58:48.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-09T11:24:22.000Z (about 5 years ago)
- Last Synced: 2025-05-16T19:47:42.447Z (about 1 year ago)
- Topics: performance-metrics, performance-testing, psi, puppeteer
- Language: TypeScript
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# How it works
To begin using this tool do the following:
```sh
# install all the necessary dependencies
npm i
# compile the tool source code from ts to js
npm run build
# clean compiled code
npm run cleanup
```
## Test (run typescript typechecking)
```sh
npm test
```
## Docker
> First make sure you are in the root folder of this project and docker is up and running
Build the image
```sh
docker build -t extract-perf-metrics .
```
Run the tests for a specific website url
```sh
docker run -e TEST_SITE_URL='{YOUR_SITE_URL_GOES_HERE}' extract-perf-metric
```
> This tool can also be used directly from nodejs: `TEST_SITE_URL=https://google.com npm start`