处理时间,延迟和响应时间的含义和计算公式

任何人都可以从下图中validation处理时间,延迟和响应时间公式。我对响应时间公式有一些疑问。

如果您与我的这些公式有冲突,请给我certificate参考。

公式图片

我会接受;

  • 最坏情况下的延迟为T8 – T1也是经过的时间
  • 处理时间T6-T3也是响应时间,因为您可以从第一个字节开始处理并仍然处理到最后一个字节。

如果在获得最后一个字节之前无法在服务器上开始处理消息,则必须使用最后一个字节来表示延迟,否则它将不一致。

我认为服务器的性能比客户端更高,即它可能从第一个数据包开始处理,但客户端可能需要整个消息做任何有用的事情(这取决于客户端)

我同意Peter的处理时间和最坏情况延迟:T6 – T3

但是对于Latency,我会说它是T7 -T1。 我认为这是第一个字节的时间。

在JMeter中它是:

JMeter measures the latency from just before sending the request to just after the first response has been received. Thus the time includes all the processing needed to assemble the request as well as assembling the first part of the response, which in general will be longer than one byte. Protocol analysers (such as Wireshark) measure the time when bytes are actually sent/received over the interface. The JMeter time should be closer to that which is experienced by a browser or other application client. 

另请看:

  • 负载测试的延迟时间

来自维基百科 :

在数据系统中,系统响应时间是接收到查询消息的传输结束与开始向发起查询的站的响应消息的开始之间的间隔。

哪个应该是T5-T4(就像处理时间一样)。