测了一下zhangyutai的qps

本机:
ab -n100 -c50  http://localhost/index.htm
Requests per second:    3503.85 [#/sec] (mean)
Time per request:       14.270 [ms] (mean)
Time per request:       0.285 [ms] (mean, across all concurrent requests)
Transfer rate:          1317.37 [Kbytes/sec] received


ab -n10 -c5 http://localhost/index.htm
Requests per second:    3188.78 [#/sec] (mean)
Time per request:       1.568 [ms] (mean)
Time per request:       0.314 [ms] (mean, across all concurrent requests)
Transfer rate:          1198.90 [Kbytes/sec] received

 

外网:


ab -n10 -c5 http://www.zhangyutai.com/index.htm
Requests per second:    8.91 [#/sec] (mean)
Time per request:       561.143 [ms] (mean)
Time per request:       112.229 [ms] (mean, across all concurrent requests)
Transfer rate:          196.10 [Kbytes/sec] received


ab -n100 -c50 http://www.zhangyutai.com/index.htm
Requests per second:    9.89 [#/sec] (mean)
Time per request:       5053.491 [ms] (mean)
Time per request:       101.070 [ms] (mean, across all concurrent requests)
Transfer rate:          217.75 [Kbytes/sec] received

 

 

堆塘

Requests per second:    9.25 [#/sec] (mean)
Time per request:       540.506 [ms] (mean)
Time per request:       108.101 [ms] (mean, across all concurrent requests)
Transfer rate:          60.33 [Kbytes/sec] received

你可能感兴趣的:(PS)