CPU and memory profiling has never been easier and smarter at the same time with using YourKit with the
IntelliJ IDEA
IDE.
YourKit Java Profiler brings new functionality to IntelliJ IDEA and adds the ability to profile complex Java EE and
desktop applications with just a single click. YourKit Java Profiler adds a new
Profile
action in all places where you usually find
Run
or
Debug
within the IDEA
environment.
YourKit Java Profiler has integration with IntelliJ IDEA
2020.3 - 2025.2
and JetBrains Toolbox
2.7
.
Plugin installation
To enable integration, you should install the profiler plugin.
Use
Profile from within the IDE...
action on Welcome screen or in
Tools
menu.
Choose IntelliJ IDEA and follow the instructions.
The
Profile
action starts the profiled application,
and
connects
to it from the profiler UI, unless the opposite is configured.
Furthermore, the application will appear in
Monitor Applications
list
on Welcome screen.
While profiling, you usually need to browse the related source code to understand
the performance problems at hands.
After the problem is located, you edit the source code to fix it.
Use
Tools | Open in IDE (F7)
to open the underlying source code in the editor of your IDE - the best place to browse and edit code.
The navigation action works on the current selection and is
available in both CPU and memory views.
Additionally, it offers the extremely useful ability to locate the code
of anonymous classes and their methods,
a task that is typically very challenging to accomplish manually.
YourKit uses cookies and other technologies to improve your browsing
experience on our website, to show you personalized content,
to analyze our website traffic, and to understand where our
visitors are coming from.
By browsing our website, you consent to our use of cookies and
other tracking technologies in accordance with the
Privacy Policy
.