Skip to content

IntelliJ IDEA plugin: gutter icons for profiling statistics of Java/Kotling projects

Notifications You must be signed in to change notification settings

dtim/profiling-icons-plugin

Repository files navigation

Profiling Icons Plugin for Intellij IDEA

Build Version Downloads

The plugin annotates Java/Kotlin methods with gutter icons that display the approximate percentage of time the method was executed during the profiling. The profiler snapshot to visualize is loaded using the Tools/Load Profiler Snapshot menu action.

The plugin is a work in progress. It currently supports Async Profiler flat text snapshots only.

Installation

The plugin has not yet been released. After the release, it can be installed in the usual way.

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "profiling-icons-plugin" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Screenshots

Profiler snapshot fragment

Profiler snapshot fragment

Tools menu action

Tools menu action

Snapshot loading dialog

Snapshot loading dialog

Markers and tooltips

Markers and tooltips in Java code

Markers in Kotlin code

TODO / Planned

  • Improve name matching between the profiler snapshot and the code.

    • Provide icons for lambda abstractions, anonymous classes, and nested functions.
    • Use method signatures and line numbers if they are present in the snapshot.
  • Implement additional parsers.

    • Java Flight Recorder.
    • YourKit.
  • Provide a toolbar with additional information from a snapshot.

    • Stack trace and method call tree.
    • Statistics for the native code involved.

Plugin based on the IntelliJ Platform Plugin Template.

About

IntelliJ IDEA plugin: gutter icons for profiling statistics of Java/Kotling projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published