Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 698 Bytes

File metadata and controls

25 lines (17 loc) · 698 Bytes

Performance testing for mshots

Uses the locust python library to test mshots performance.

Install and run

First run mshots locally in docker

brew install python3
pip3 install -r requirements.txt
locust

A web ui will open on http://localhost:8089, choose a number of users and spawn rate. Note: Host is currently hardcoded to use http://localhost:8000 regardless of what you enter.

Configuring mshots with more workers

Note that mshots runs with only two workers by default. To change this, modify the line MSHOTS_WORKERS=2 in docker-compose-dev-override.yml and restart the docker container.

npm run stop:docker
npm run start