Java profiling tool JProfiler getting started Tutorial: integration with IntelliJ IDEA

Source: Internet
Author: User
Tags jprofiler

Java profiling toolJProfilerIt can be integrated with a variety of IDES and application servers. This article mainly introduces jprofiler andIntelliJ IDEA Integration.

1. Choose Session> IDE integrations from the main menu of JProfiler. It is worth noting that IntelliJ IDEA needs to be disabled when the plug-in is installed. If you run the installation program through the JProfiler Installation wizard, you must complete the installation before starting IntelliJ IDEA.

2. To analyze the application through IntelliJ IDEA, you need to select one of the profile commands in the Run menu, the context menu in the editor, or click the corresponding toolbar button.


Main toolbar with "Profile" button


"Run" menu with "Profile" action


Editor context menu with "Profile" action

3. JProfiler can analyze all running configuration types from all IDEA or application servers. Edit the running configuration, select the "Startup/Connection" tab, and then select "Profile" for further configuration. The following shows the startup settings for the local server configuration. Depending on the running configuration type, you can adjust JVM options or retrieve analysis parameters for remote analysis.


Startup settings for profiling of a local server configuration

4. For all running configuration types, you can decide whether to open a new analysis session window in JProfiler, or you want to reuse the last window to adapt to the analysis session.

5. Click the "Run" command to analyze the application. If no JProfiler instance is running at the time, JProfiler will still be started; otherwise, the JProfiler instance running will be used to present the analysis data.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.