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.
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.
- links to
-
Review openjdk/jmh/115