mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
655 B
655 B
Running Load tests
To run load tests with k6 you need to have Docker and Bash installed. Go the root of this repository and run:
bash testdata/performance/perf-test.sh
This will build the frankenphp-dev Docker image and run it under the name 'load-test-container'
in the background. Additionally, it will run the grafana/k6 container, and you'll be able to choose
the load test you want to run. A flamegraph.svg will be created in the testdata/performance directory.
If the load test has stopped prematurely, you might have to remove the container manually:
docker stop load-test-container
docker rm load-test-container