https://github.com/jamct/php-performance
https://github.com/jamct/php-performance
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jamct/php-performance
- Owner: jamct
- Created: 2022-06-27T16:37:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T16:47:21.000Z (about 4 years ago)
- Last Synced: 2025-07-03T00:03:09.460Z (12 months ago)
- Language: PHP
- Size: 90.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test PHP under load
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.
## Contents
### 01-nginx-static
Just a Nginx server, no PHP involved
### 02-nginx-fpm-simple
Just a php page showing `phpinfo();` running on PHP-FPM with Nginx
### 03-nginx-fpm-laravel
A laravel setup with Nginx and PHP-FPM
### 04-swoole-simple
A minimalistic swoole application showing `phpinfo()`
### 05-swoole-laravel
Running laravel with swoole (using Octane)