Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903100

JMH: SingleShot mode should handle OperationsPerInvocations > 1

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • None
    • None
    • tools
    • None
    • jmh

    Description

      There seems to be a corner case in SingleShot mode handling: while the internal code handles OperationsPerInvocations > 1 for e.g. profilers normalization with BenchmarkTaskResult, OPI > 1 does not affect the score.

      Unfortunately, the fix involves modifying a constructor in SingleShotResult, which raises a minor compatibility question. We can side-step it for a while by adding the constructor overload.

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: