Flamegraph Profiler

Compatible with IntelliJ IDEA
Jan 07, 2018
41
Instrumentation Java Profiler & Flamegraph Visualizer
Performance Recording
Plugin lets you record performance of Java program with instrumentation profiler.
  1. To specify methods that will be recorded open Tools | Flamegraph Profiler | Edit Configuration...
  2. To run program with profiler select the desired run configuration and choose Run with profiler
  3. Also you can configure profiler to save value of method's parameters or it's return value. This should be done if you want to see how parameters influence method's performance. To enable this option check 'Save' checkbox beside type of parameter(s) when editing pattern in configuration.
Visualizing Results
You can analyze performance of your program with Flamegraph Visualizer. It supports following files:
  1. Files in flamegraph format
  2. _.ser_ files that are created by Flamegraph Profiler
  3. _.jfr_ files created by Java Flight Recorder
  4. Yourkit _csv_ files (To generate csv file from a snapshot run following script: java -jar -Dexport.call.tree.cpu -Dexport.csv /lib/yjp.jar -export ~/Snapshots/.snapshot )
Ways to open visualizer:
  1. After executing program with the profiler choose Tools | Flamegraph Profiler | Open Results... to see the result.
  2. To upload your .jfr or .ser file choose Tools | Flamegraph Profiler | Upload File...
Detailed description at github.com/kornilova-l/flamegraph-visualizer

Download plugin

Recent change notes

Profiler:
* Now it is possible to instrument methods of system classes
* Bug fixes
Visualizer:
* Yourkit files are supported
* Files list is updated without need to reload page
* Implemented files search
* Call traces page is open by default
* Full name of file is shown when the cursor is placed above the file