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

JMH: Remove the Unicode dot prefix from secondary results

XMLWordPrintable

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

      JMH secondary results, especially from profilers, are prepended with the odd Unicode symbol:
      https://github.com/openjdk/jmh/blob/d88f901b2a50539e276aa409b5d7ce1eb3e1bfc9/jmh-core/src/main/java/org/openjdk/jmh/results/Defaults.java#L29

      This gets inconvenient when accessing the results from Java APIs (you'd need to copy-paste that symbol), or with hand parsing, etc.

      The original intent for that prefix was to sort out the profiler results after the actual benchmark results. We may achieve the same by looking at ResultRole, and drop the prefix altogether.

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

              Created:
              Updated:
              Resolved: