首页 > Web开发 > 详细

3-2 PHP-压力测试工具使用演示

时间:2017-03-07 08:57:04      阅读:353      评论:0      收藏:0      [点我收藏+]
技术分享
D:\all\phpstudy\Apache\bin>ab -c 10 -n100 www.qzrc.com/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.qzrc.com (be patient).....done


Server Software:        Microsoft-IIS/7.5
Server Hostname:        www.qzrc.com
Server Port:            80

Document Path:          /
Document Length:        179956 bytes

Concurrency Level:      10
Time taken for tests:   2.688 seconds
Complete requests:      100
Failed requests:        2
(Connect: 0, Receive: 0, Length: 2, Exceptions: 0)
Total transferred:      18022350 bytes
HTML transferred:       17995446 bytes
Requests per second:    37.20 [#/sec] (mean) 每秒请求数
Time per request:       268.815 [ms] (mean)
Time per request:       26.882 [ms] (mean, across all concurrent requests) 尽可能小
Transfer rate:          6547.23 [Kbytes/sec] received

Connection Times (ms)
min  mean[+/-sd] median   max
Connect:        4   24   8.7     25      44
Processing:   133  233  27.7    236     297
Waiting:       11   33  14.4     29      82
Total:        163  257  27.4    261     308

Percentage of the requests served within a certain time (ms)
50%    261
66%    269
75%    272
80%    274
90%    289
95%    295
98%    303
99%    308
100%    308 (longest request)

做项目 之前 测试下 时间


做完项目 再次测试下时间
View Code

 

3-2 PHP-压力测试工具使用演示

原文:http://www.cnblogs.com/jiaochengli/p/6512810.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!