A collection of (Open Source) performance tools which allow a js developer to reliably model and monitor a webapp.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
A collection of (Open Source) performance tools which allow a js developer to reliably model and monitor a webapp. At the moment, most of the focus is on the playwright component.
To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
This installation is split into two components: the playwright local installation and the full stack of performance Infrastructure.
- Clone this repo
git clone https://github.com/unlikelyzero/js-perf-toolkit.git
- Install nvm. https://github.com/nvm-sh/nvm/
- npm install the
./playwright
repocd playwright nvm use 14 npm install
- install playwright browsers
npx playwright install
- run a basic test
npm run test:local:basic
- Clone the repo
git clone https://github.com/unlikelyzero/js-perf-toolkit.git
- Start the monitoring containers (except browserless)
docker compose up -d
- Verify that the following webservers are up:
localhost:9090 localhost:8086 localhost:8089 localhost:3006
- Start the browserless container
docker compose -f ./browserless.dc.yaml up -d browserless
- Verify that the following webserver is up
localhost:3003
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.
John Hill - [Email on https://github.com/unlikelyzero]
Project Link: https://github.com/unlikelyzero/js-perf-toolkit
Sources
- https://medium.com/swlh/beautiful-load-testing-with-k6-and-docker-compose-4454edb3a2e3
- https://susi.dev/prometheus-grafana-loki-with-docker-compose
- browserless/browserless#52
- https://michaljanaszek.com/blog/test-website-performance-with-puppeteer/
- https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
- https://automationrhapsody.com/performance-testing-in-the-browser/
- https://github.com/llatinov/sample-performance-testing-in-browser