参考链接:https://www.zhihu.com/question/41110088

The tp90 is a minimum time under which 90% of requests have been served.

tp90 = top percentile 90

Imagine you have response times:

10s
1000s
100s

2s

Calculating TP is very simple:

1. Sort all times in ascending order: [2s, 10s, 100s, 1000s]

2. find latest item in portion you need to calculate.
2.1 For TP50 it will be ceil(4*0.5) = 2 requests. You need 2nd request.
2.2 For TP90 it will be ceil(4*0.9) = 4. You need 4th request.

3. We get time for the item found above. TP50=10s. TP90=1000s



可以认为 TP90的意思是保证90%请求都能被响应的最小耗时。

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-11-18
  • 2021-11-04
  • 2021-06-26
  • 2021-12-08
  • 2021-11-22
猜你喜欢
  • 2021-06-13
  • 2021-09-16
  • 2021-09-29
  • 2021-12-04
  • 2022-12-23
  • 2021-12-04
  • 2021-05-25
相关资源
相似解决方案