TaoMingming / jfr-flamegraph-generator

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Java 95.9%Language:Shell 4.1%