1
0
mirror of https://github.com/helm/chartmuseum.git synced 2026-02-05 15:45:50 +01:00
Files
chartmuseum/loadtesting
Casey Buto bc596c0f02 fix: Avoid data races for cacheEntries and index files (#556)
* fix: Avoid data races for cacheEntries and index files

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* test: Update to the latest locust version

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* refactor: remove unecessary lock

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* refactor: no need to return error from load function

Signed-off-by: Casey Buto <cbuto@d2iq.com>

* fix: Add additional tenant cache locking

Signed-off-by: Casey Buto <cbuto@d2iq.com>
2022-04-08 15:16:51 -04:00
..
2017-11-16 16:15:43 -05:00

Loadtesting is made with the excellent Python locust library.

To facilitate installation, this loadtesting subproject uses pipenv.

Install pipenv

pip install pipenv

Install chartmuseum locust loadtesting

cd loadtesting
pipenv install

Start chartmuseum.

Start locust:

# run locust on a running chartmuseum instance
pipenv run locust --host http://localhost:8080

Open your locust console in your browser at http://localhost:8089, and start a new loadtest.