web性能测试工具ab

网站发布以后需要测试性能。

参考这里http://www.ha97.com/4617.html


执行命令

ab -r -n 1000 -c 1000 http://****.com/category/join/

结果,惨不忍睹啊。平均并发处理25个连接/秒.

Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking znanren.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        Jexus/5.4.0
Server Hostname:        ****.com
Server Port:            80

Document Path:          /category/join/
Document Length:        88 bytes

Concurrency Level:      1000
Time taken for tests:   39.003 seconds
Complete requests:      1000
Failed requests:        118
   (Connect: 0, Receive: 0, Length: 118, Exceptions: 0)
Write errors:           0
Non-2xx responses:      1000
Total transferred:      286844 bytes
HTML transferred:       97204 bytes
Requests per second:    25.64 [#/sec] (mean)
Time per request:       39002.709 [ms] (mean)
Time per request:       39.003 [ms] (mean, across all concurrent requests)
Transfer rate:          7.18 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      189 6084 6382.0   5004   19790
Processing:   194 11164 5044.0  12054   18740
Waiting:      194 11163 5045.0  12054   18740
Total:       1530 17249 9668.0  16213   38394

Percentage of the requests served within a certain time (ms)
  50%  16213
  66%  18854
  75%  22330
  80%  25380
  90%  31169
  95%  36867
  98%  37810
  99%  38177
 100%  38394 (longest request)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值