Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3313

Record benchmark results from specified percentiles

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.20.0
    • Affects Version/s: 2.19.0
    • Component/s: BSON, Performance
    • None

      Per the benchmarking spec:

       

      For each micro-benchmark, the 10th, 25th, 50th, 75th, 90th, 95th, 98th and 99th percentiles will be recorded using the following algorithm:

      • Given a 0-indexed array A of N iteration wall clock times
      • Sort the array into ascending order (i.e. shortest time first)
      • Let the index i for percentile p in the range [1,100] be defined as: i = int(N * p / 100) - 1

       

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            jamis.buck@mongodb.com Jamis Buck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: