ab测试结果说明

ab -n 1000 -c 50 http://www.baidu.com

Requests per second:    108.61 [#/sec] (mean)   #每秒请 求数(平均)//大家最关心的指标之一,相当于LR中的每秒事务数,后面括 号中的mean表示这是一个平均值

即QPS

Time per request:       460.381 [ms] (mean)   #每次并发请求时间(所有并发)//大家最关心的指标之二,相当于LR中的平均事务响应时间, 后面括号中的mean表示这是一个平均值

一次并发为50时的请求时间

Time per request:       9.208 [ms] (mean, across all concurrent requests)   #每一请求时间(并发平均) //每个请求实际运行时间的平均值

单个请求的时候

 

说明:

Time per request
The average time spent per request. The first value is calculated with the formula concurrency * timetaken * 1000 / done while the second value is calculated with the formula timetaken * 1000 / done
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值