LoadRunner中90%响应时间的理解

最近有朋友老问关于90%的响应时间不太理解,顾摘录如下内容供大家参考:


官方解释:

Solution: The 90th percentile is the value for which 90% of the data points are smaller

The 90th percentile  is a measure of stastical distribution , not unlike the median. The median is the middle value. The median is the value for which 50% of the values were bigger, and 50% smaller. The 90th percentile tells you the value for which 90% of the data points are smaller and 10% are bigger. 

Statistically, to calculate the 90th percentile value:
1. Sort the transaction instances by their value.
2. Remove the top 10% instances.
3. The highest value left is the 90th percentile.


由此可见, 仅仅有平均事务响应时间是不够的。因为平均事务响应时间满足了性能需求,未必就表示系统的性能已经满足了绝大多数用户的要求。

假如有两组测试结果,响应时间分别是 {1,3,5,10,16} 和 {5,6,7,8,9},它们的平均值都是7,你认为哪次测试的结果更理想?

所以

1)90%响应时间它是统计响应时间的参数,带有统计学意义,是科学性的;

2)可以这样理解,这个事务所有的运行次数中,90%的次数落在这个响应时间里;(90%的响应时间不超过XX秒)

3)90%响应时间可以在LoadRunner中根据需要进行自由设置的,例如70%,95%;

4)为了真实的评估软件性能,建议让测试场景执行较长的时间,让工具采集更多数据,数据越多,在概率论中的数据分布中看,最具有真实性;

5)该参数是性能测试结果的一个算法,与测试工具无关,无论你是使用LoadRunner、JMeter或其它性能测试工具,该理论同样适用。


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/69942496/viewspace-2652660/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/69942496/viewspace-2652660/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值