Getting Started: Profiling Your Application


Getting Started: Profiling Your Application

The Profiler provides a number of internal settings that let you tune profiling to your needs. For example, you may decrease the profiling overhead at the cost of some reduction in the amount of generated information. However, it may take some time to understand the meaning and use of the numerous settings available in Profiler.

For many applications, certain default settings are sufficient in most situations. For this reason, Profiler offers two major profiling options. You can start profiling (or change its type on-the-fly) by choosing a simple predefined profiling task, which has most of the settings preset to generally optimal values and requires minimum or no tuning. Alternatively, you can create your own custom profiling configuration, where you are free to modify any of the available settings.

Before you start profiling

For every Java platform that will be used for profiling the calibration must be run first. Without valid calibration data the profiling won't start.

How to start profiling an application

  1. Open your project in the IDE.
  2. Choose Profile -> Profile Main Project ( Profile Main Project ) from the main menu.
  3. Choose a profiling command from the list in the Select Profiling Task dialog box.
  4. Click Run.

When you click Run, the target application launches and the selected profiling command starts. The Profiler window opens in the IDE.

To see the results of the profiling command, click the Live Results button ( Live Results ) in the Profiler window to open the Profiling Results tab.

To stop the profiling command, choose Profile > Stop from the Profile menu or click the Stop button ( ). If you start the application with the Profiler, when you stop the profiling command the application also stops.


See also


Project Features

About this Project

Profiler was started in November 2009, is owned by Tomas Hurka, and has 62 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm