5 test scenarios to test php performance under load.
Just navigate to a folder and run docker compose up
. The server is running on port 8080 on your local machine.
Install k6 an run k6 run load.js
to measure under load.
Just a Nginx server, no PHP involved
Just a php page showing phpinfo();
running on PHP-FPM with Nginx
A laravel setup with Nginx and PHP-FPM
A minimalistic swoole application showing phpinfo()
Running laravel with swoole (using Octane)