This project is based on the template for Drupal projects by Wunder and meant for benchmarking a local Drupal development environment (either Lando or DDEV) with the open source load testing tool Locust.
See the aforementioned mentioned template for more detailed documentation.
- Python 3.13.1 (recommended install via pyenv with
pyenv install
) - Locust (install with
pip install locust
) - Lando or DDEV
- Clone the project locally
- Optionally checkout a specific version, for example:
git checkout tags/v1.0
- Start your environment and build Drupal
- Run a benchmark with
./benchmark.sh lando
or./benchmark.sh ddev
This project comes with Lando and DDEV environments preconfigured. Please find more detailed examples for running the benchmark in these environments below.
lando start && lando drush si --yes --existing-config
./benchmark.sh lando
ddev start && ddev composer install && ddev drush si --yes --existing-config
./benchmark.sh ddev