Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60541

Wrong 90%Line Calculation in the Performance Report

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            undera Andrey Pokhilko
            Reporter:
            ganginenisarath sarath gangineni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: