https://github.com/phpinnacle/benchmarks
https://github.com/phpinnacle/benchmarks
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/phpinnacle/benchmarks
- Owner: phpinnacle
- License: mit
- Created: 2019-09-10T12:33:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-19T16:03:48.000Z (over 6 years ago)
- Last Synced: 2025-02-07T17:37:27.069Z (12 months ago)
- Language: TSQL
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Platforms Benchmarks
* AMPHP
* FPM
* RoadRunner
* Swoole
Based on configs from [mrsuh/php-load-test](https://github.com/mrsuh/php-load-test).
### Application
* PHP 7.3.9
* MySQL 8.0.12
## Installation
#### FPM
```sh
cd platform/fpm && docker-compose up
```
#### RoadRunner
```sh
cd platform/roadrunner && docker-compose up
```
#### AMPHP
```sh
cd platform/amphp && docker-compose up
```
#### Swoole
```sh
cd platform/swoole && docker-compose up
```
## Benchmarks
+ Update `bench/.env` with your username and token from [Overload](https://overload.yandex.net)
+ Put **ssh** public key to target server if needed
+ Tank it:
```sh
make rps1000
```