IntelliJ IDEA 2021.1 Help

Profiling tools

Profiling tools are useful for exploring which methods are run most of the time. They can help you find the most expensive methods and understand exactly how they behave.

IntelliJ IDEA is integrated with the following profiling tools:

  • Async Profiler: a CPU and memory profiling tool for Linux and macOS.

  • Java Flight Recorder: a CPU tool provided by Oracle available on Linux, macOS, and Windows.

IntelliJ IDEA features the Profiler tool window that you can use for opening .jfr and .hprof snapshots, attaching the profilers to running processes, viewing live charts that visualize CPU and memory consumption in running applications.

Snapshots are opened in tabs. This allows you to work with multiple reports at the same time and have the welcome tab always at your disposal.

Attaching a profiler to a process

Read in this section

Last modified: 03 July 2021