如何以秒为单位,以分钟,分钟和小时为单位来计算和显示吞吐量? [英] How Throughput is calculate and display in Sec,Minute and Hours in Jmeter?

查看:999
本文介绍了如何以秒为单位,以分钟,分钟和小时为单位来计算和显示吞吐量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个观察结果,想了解有关吞吐量计算的信息,某些时间吞吐量以秒为单位显示,某些时间以分钟为单位,某些时间以小时为单位,请提供准确的答案来计算吞吐量何时显示在 Jmeter摘要报告

I have one observation and want to get knowledge on Throughput calculation,Some time Throughput is displaying in seconds,some times in minutes and some times in Hours,please any one provide exact answer to calculate throughput and when it will display in Seconds,Minutes and Hours in Jmeter Summary Report

推荐答案

来自JMeter Docs:

From JMeter Docs:

吞吐量是根据请求/时间单位计算的.现在的时间是 从第一个样本的开始到最后一个样本的结束进行计算 样本.如假定的那样,这包括样本之间的任何间隔 代表服务器上的负载.计算公式为:吞吐量= (请求数)/(总时间).

Throughput is calculated as requests/unit of time. The time is calculated from the start of the first sample to the end of the last sample. This includes any intervals between samples, as it is supposed to represent the load on the server. The formula is: Throughput = (number of requests) / (total time).

单位时间因吞吐量值而异.

unit time varies based on the throughput values.

示例:

  1. 在10秒内,发送了10个请求,然后吞吐量为10/10 = 1/sec
  2. 在10秒内,发送了1个请求,然后吞吐量为1/10 = 0.1/sec = 6/min(以小数形式显示0.1/sec将在下一个更高的单位时间中自动显示)

如果您了解,那就是避免使用较小的值(例如0.1、0.001等).在这种情况下,单位时间越长越容易理解,而所有单位时间都是正确的.这是一个可用性问题.

If you understand, it is to avoid small values (like, 0.1, 0.001 etc). In such cases, higher unit time is more friendly in understanding, while all unit times are correct. It is a matter of usability.

所以

1/sec = 60/min = 3600/hour =相同

1/sec = 60/min = 3600/hour = SAME

这篇关于如何以秒为单位,以分钟,分钟和小时为单位来计算和显示吞吐量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆