wrk -t4 -c400 -d10s http://127.0.0.1:1337/
ReactPHP: Running 10s test @ http://127.0.0.1:1337/ 4 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 129.98ms 234.70ms 1.94s 85.24% Req/Sec 843.63 1.26k 5.10k 81.08% 18447 requests in 10.42s, 2.13MB read Socket errors: connect 0, read 18447, write 0, timeout 10 Requests/sec: 1770.11 Transfer/sec: 209.16KB
Node: Running 10s test @ http://127.0.0.1:1337/ 4 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 20.58ms 4.38ms 272.51ms 94.55% Req/Sec 4.78k 614.18 5.41k 93.50% 190151 requests in 10.03s, 36.63MB read Requests/sec: 18955.65 Transfer/sec: 3.65MB
Swoole: Running 10s test @ http://127.0.0.1:1337/ 4 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 1.68ms 845.37us 12.61ms 67.84% Req/Sec 59.70k 5.63k 76.41k 70.75% 2377018 requests in 10.03s, 478.32MB read Requests/sec: 237012.64 Transfer/sec: 47.69MB
AmPHP: Running 10s test @ http://127.0.0.1:1337/ 4 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 55.22ms 172.36ms 2.00s 96.60% Req/Sec 3.43k 448.58 4.78k 81.25% 136495 requests in 10.04s, 28.12MB read Socket errors: connect 0, read 0, write 0, timeout 70 Requests/sec: 13599.16 Transfer/sec: 2.80MB