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

Named-annotations parameters and @Param interop

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jmh

      There is a disconnect between the named parameters like @OperationsPerInvocation and @Params. Named parameters provide the defaults for benchmark parameters, and may be regarded as user-tunable parameters. @Params provide the benchmark-specific (data) changes, and participate in the final reports.

      It would be nice to understand if we can marry both classes of parameters, so that:
       a) Users got the ability to provide the sequence of named parameters to try (e.g. @Threads({1, 2, 4}) without resorting to API. Just like @Params do.
       b) Users get the named parameters in the final report, like they already have with @Params.

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

              Created:
              Updated: