feat: Adds automatic thread scaling at runtime and php_ini configuration in Caddyfile (#1266)

Adds option to scale threads at runtime

Adds php_ini configuration in Caddyfile
This commit is contained in:
Alliballibaba2
2025-02-19 20:39:33 +01:00
committed by GitHub
parent 965fa6570c
commit 072151dfee
46 changed files with 1772 additions and 208 deletions

View File

@@ -0,0 +1,19 @@
# 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:
```sh
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:
```sh
docker stop load-test-container
docker rm load-test-container
```