твоё пхп так умеет?
Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
$ ab -c 20000 -n 1000000 http://127.0.0.1:8080/
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 100000 requests
Completed 200000 requests
Completed 300000 requests
Completed 400000 requests
Completed 500000 requests
Completed 600000 requests
Completed 700000 requests
Completed 800000 requests
Completed 900000 requests
Completed 1000000 requests
Finished 1000000 requests
Server Software: lwan
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 113 bytes
Concurrency Level: 20000
Time taken for tests: 93.018 seconds
Complete requests: 1000000
Failed requests: 2
(Connect: 0, Receive: 0, Length: 2, Exceptions: 0)
Total transferred: 295000000 bytes
HTML transferred: 113000000 bytes
Requests per second: 10750.61 [#/sec] (mean)
Time per request: 1860.359 [ms] (mean)
Time per request: 0.093 [ms] (mean, across all concurrent requests)
Transfer rate: 3097.10 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 7 48.6 0 535
Processing: 1099 1554 94.8 1544 15295
Waiting: 0 218 86.0 201 663
Total: 1099 1560 112.2 1545 15295
Percentage of the requests served within a certain time (ms)
50% 1545
66% 1573
75% 1593
80% 1608
90% 1641
95% 1702
98% 1811
99% 1862
100% 15295 (longest request)