ab压测工具结果解析

压测结果事例:

 

Server Software:        nginx  //服务器软件名称

Server Hostname:        www.91cnm.com  //服务器主机名
Server Port:            80 服务器端口

Document Path:          /    //测试路径url
Document Length:        10639 bytes  //测试的url返回的文档大小

Concurrency Level:      10   //并发数
Time taken for tests:   40.156 seconds  //压测消耗总时间
Complete requests:      1000 //请求数量
Failed requests:        0  //失败请求数
Write errors:           0  //网络连接写入错误数

Total transferred:      10777000 bytes //整个测试中的网络传输量
HTML transferred:       10639000 bytes //整个测试中的HTML内容传输量
Requests per second:    24.90 [#/sec] (mean) //每秒的事务数 = 总事务数 / 执行时间
Time per request:       401.563 [ms] (mean)  //平均事务的响应时间 = 执行时间 / 总事务数  (mean代表平均)
Time per request:       40.156 [ms] (mean, across all concurrent requests) //每个请求实际运行时间的平均值
Transfer rate:          262.09 [Kbytes/sec] received //平均每秒网络上的流量 

//min(最小值),mean(平均值),[+/-sd](方差),median(中位数),max(最大值)

Connection Times (ms)
              min  mean[+/-sd] median   max  
Connect:      162  184 116.3    173    1648
Processing:   163  212 157.2    175    1214
Waiting:      162  177  34.8    173     724
Total:        325  395 195.5    348    1906

//Connect :socket链路建立消耗,代表网络状况好坏

//Processing :写入缓冲区消耗+链路消耗+服务端消耗

//Waiting :写入缓冲区消耗+链路消耗+服务端消耗+读取数据消耗

//Total :单个事务总时间

Percentage of the requests served within a certain time (ms)
  50%    348
  66%    351
  75%    363
  80%    364
  90%    367
  95%    551
  98%   1197
  99%   1374
 100%   1906 (longest request)
//整个测试中所有请求的响应情况。在测试中每个请求都有一个响应时间,其中50%的用户响应时间小于348 毫秒,60% 的用户响应时间小于351 毫秒,最大的响应时间小于1906 毫秒

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值