Skip to content

thecaliskan/laravel-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

45e3195 · Jan 7, 2024

History

37 Commits
Dec 28, 2023
Jan 3, 2024
Dec 28, 2023
Jan 3, 2024
Dec 28, 2023
Dec 28, 2023
Dec 28, 2023
Jan 3, 2024
Jan 7, 2024
Dec 28, 2023
Dec 28, 2023
Jan 3, 2024
Dec 28, 2023
Dec 28, 2023
Jan 3, 2024
Dec 28, 2023
Jan 3, 2024
Jan 1, 2024
Jan 1, 2024
Jan 3, 2024
Jan 1, 2024
Jan 3, 2024
Dec 28, 2023
Dec 28, 2023
Jan 3, 2024
Jan 3, 2024
Dec 28, 2023

Repository files navigation

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