Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy-to-use performance and memory .NET profiler for Windows, Linux and macOS.
Secure and easy profiling in cloud, containers and clustered environments.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Eclipse

CPU and memory profiling has never been easier and smarter at the same time with using YourKit on the Eclipse platform. YourKit Java Profiler brings new functionality to Eclipse 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 Eclipse environment.

Eclipse requirements

YourKit Java Profiler has integration with Eclipse 2018-09 - 2024-03.

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 Eclipse and follow the instructions.

Completing Eclipse plugin installation

1. Use Help | Install New Software... in Eclipse's main menu:

2. Press Add... button:

3. Copy the following URL to the Location field and press Add.

https://www.yourkit.com/download/yjp2024_3_for_eclipse/

For an offline installation use bundled update site archive at <Profiler Installation Directory>/lib/eclipse-plugin/yjp2024_3_for_eclipse.zip

4. Select YourKit Java Profiler plugin and press Next:

5. Follow further instructions to complete the plugin installation, restarting Eclipse if necessary.

Profiling from Eclipse

After the plugin is installed, Profile actions appear in the toolbar, in the main menu, and in context menus.

Eclipse toolbar

Launch configurations can be managed using Run | Profile... menu, where profiler options are set on YourKit Java Profiler tab.

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.

Open in IDE menu

Troubleshooting

If plugin is installed, but Profile menu items are still disabled, then this can be plugin caching issue. To clean up the plugin cache, please restart Eclipse with -clean option in the command line.

YourKit uses cookies and other tracking 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.