Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35721

Improve the statistics that BenchRunner::finish returns

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Performance
    • Labels:

      Description

      This bit of code is responsible for returning different types of operations per second, but doesn't label them as per second. E.g., instead of returning

      {..., "inserts/sec": 50, ...}

      , it returns

      {..., "insert": 50, ...}

      . This is misleading. errCount output, meanwhile, is total number of ops failed, not per second, and not by op. It is therefore hard to compare succeeded and failed ops.

      Requesting the following particular additions:

      • Change misleading "<op_name>" field names to "<op_name>/sec", which is correct.
      • Add total successful ops for each op type.
      • Add errCount result per op type.
      • Add errCount per op type per second, for ease of comparison to op type per second – I'm extrapolating the usefulness of this one, it's not something I ran into wanting.

      This may require workload updates in the workloads code repository as well, since the results of benchRun are returned and parsed by string. E.g. any workloads reporting particular ops/sec use res["insert"] to get what will be changed to res["inserts/sec"].

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: