Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.1 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.1 KB

Laravel Benchmark

Install

wget https://raw.githubusercontent.com/thecaliskan/laravel-benchmark/master/docker-compose.yml

docker compose up -d

Benchmark

OpenSwoole

wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9801/api/health-check
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9801/api/static
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9801/api/http-request

Swoole

wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9802/api/health-check
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9802/api/static
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9802/api/http-request

RoadRunner

wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9803/api/health-check
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9803/api/static
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9803/api/http-request

FrankenPHP

wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9804/api/health-check
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9804/api/static
wrk -t16 -c100 -d30s --latency  http://127.0.0.1:9804/api/http-request