/jfr-flamegraph-generator

Generate flame graph in HTML format from jfr(Java Flight Recorder) file

Primary LanguageJavaMIT LicenseMIT

jfr-flamegraph-generator

Generate Flame Graph from .jfr file.

Get Started

Executable jar and executable binary for Linux, Windows and macOS are provided.

Download the latest package from GitHub Release

# Run as executable jar
java -jar jfr-flamegraph-generator.jar --from /path/to/your.jfr --to flamegraph.html

# Run the executable binary
./jfr-flamegraph-generator # Linux/macOS
./jfr-flamegraph-generator.exe # Windows
ThreadDump
./jfr-flamegraph-generator --from /path/to/your.jfr threaddump

Build

Windows 10/11

Open x64 Native Tools Command Prompt and run:

SET PATH=C:\path\to\graalvm\;C:\path\to\maven;%PATH%;
mvn install -Pnative