Uses the locust python library to test mshots performance.
First run mshots locally in docker
brew install python3
pip3 install -r requirements.txt
locustA 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.
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