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

Enable profiler classes to be reused outside of JMH

XMLWordPrintable

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

      To profile JMH benchmarks running as GraalVM native images, a custom profiler is required that uses perf record with dwarf call traces. In spite of the customisation required, this profiler benefits from reusing existing JMH profiler help and profiler option parsing logic.

      This change makes ProfilerOptionFormatter and ProfilerUtils classes public so that they can be reused by the custom profiler.

      The benefits of this change can be observed here: https://github.com/galderz/fibula/commit/43fffcf225ab163a97cf0703abe956144adf31e6

            galder Galder ZamarreƱo
            galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: