Skip to content

tkrodriguez/jmh-profilers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Pluggable profilers for JMH 1.8

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%