Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.71 KB

README.md

File metadata and controls

41 lines (35 loc) · 1.71 KB

JMH Pluggable Profilers

Build Status Maven Central

Pluggable profilers for JMH that are discovered through SPI (for JMH >= 1.8) when the profiler is present in the classpath.

Profilers List

  1. JFR Profiler: starts automatically Java Flight Recorder and produces a .jfr file for each benchmark. Each file can be browsed afterwards via Java Mission Control. This profiler can be considered by JMH as supported only if the user wants to explicitly enable the commercial features.

Installation

where in the version field you can use the latest one

Maven

<dependency>
  <groupId>com.github.biboudis</groupId>
  <artifactId>jmh-profilers</artifactId>
  <version>0.1.4</version>
</dependency>

SBT with sbt-jmh plugin

libraryDependencies ++= Seq("com.github.biboudis" % "jmh-profilers" % "0.1.2")

Usage

Check if your profiler is discovered through the -lprof JMH option. This would append in the list of supported or unsupported profilers an entry of the following format:

<label>: <description>. (discovered)

Contributing

Sending PRs with improvements, additions with new profilers and opening issues is highly encouraged.