[JIRA] (JENKINS-60541) Wrong 90%Line Calculation in the Performance Report

4 views
Skip to first unread message

ganginenisarath783@gmail.com (JIRA)

unread,
Dec 19, 2019, 7:36:02 AM12/19/19
to jenkinsc...@googlegroups.com
sarath gangineni created an issue
 
Jenkins / Bug JENKINS-60541
Wrong 90%Line Calculation in the Performance Report
Issue Type: Bug Bug
Assignee: Andrey Pokhilko
Components: performance-plugin
Created: 2019-12-19 12:35
Priority: Major Major
Reporter: sarath gangineni

Plugin version: 3.17

 

The 90th percentile value is not calculated correctly when the index is not an integer.

For example, if we have the values as response times 

1698, 1702, 1754, 1766, 1774, 1805, 1821, 1892, 2069, 2345, 2643, 2920, 4511, 5075
 
Compute the position of the p^th^ percentile (index i):
i = (p / 100) * n), where p = 90 and n = 14
i = (90 / 100) * 14 = 12.6
 
The index i is not an integer, we need to round up the index (i = 13) ⇒ the 90^th^ percentile is the value in 13^th^ position, or 4511
 
But in the report, it is raking 12th position or 2920 as 90% value

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

ganginenisarath783@gmail.com (JIRA)

unread,
Dec 19, 2019, 7:37:02 AM12/19/19
to jenkinsc...@googlegroups.com
sarath gangineni updated an issue
Change By: sarath gangineni
Plugin version: 3.17

 

The 90th percentile value is not calculated correctly when the index is not an integer.

For example, if we have the below values as response times 


1698, 1702, 1754, 1766, 1774, 1805, 1821, 1892, 2069, 2345, 2643, 2920, 4511, 5075
 
Compute the position of the p^th^ percentile (index *i*):
*i* = (p / 100) * n), where *p* = 90 and *n* = 14
*i* = (90 / 100) * 14 = 12.6
 
The index *i* is not an integer, we need to round up the index (i = 13) ⇒ the 90^th^ percentile is the value in 13^th^ position, or 4511

 
But in the report, it is raking 12th position or 2920 as 90% value
Reply all
Reply to author
Forward
0 new messages