TP90 95 99指標

備忘下:spa

保證90%請求都能被響應的最小耗時get

 

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

tp90 = top percentile 90it

Imagine you have response times:io

10s
1000s
100s
2sclass

Calculating TP is very simple:test

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

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=1000sim

相關文章
相關標籤/搜索