## Analyze Performance: Basic Options

See Also

When analyzing application performance, you can configure basic and advanced options for the profiling session. The following basic options are available for analyzing object lifecycle. If you are configuring a custom configuration, click Advanced Settings to specify advanced options.

When analyzing application performance, you specify one of the following options:

- Entire Application. When selected, all of the methods of the profiled application are instrumented.

  When entering a method, threads generate a "method entry" event. Threads generate a corresponding "method exit" event when exiting the method. The timestamps for both of these events are recorded. This data is processed in real time.

- Part of Application. When selected, a limited part of the application's code is instrumented. The part that is instrumented is determined by the defined root methods. Profiling data is not collected until one of the application's threads enters the root method. This option can greatly reduce the profiling overhead.

  To use this option, you need to specify a root method using the popup menu in the source code or by clicking define to open the Specify Root Method dialog box.

Additionally, you can set the following options:

- Filter. You can use a filter to limit the classes that are profiled and control the overhead. The following default filters are available.
  - Profile all classes
  - Profile only project classes
  - Profile project & subprojects classes
  - Quick filter
  - Exclude Java Core Classes.
  If you select Profile Only Project Classes or Profile Project & Subprojects Classes you can click Show Filter Value to see the the classes that will be profiled. If you select Quick Filter, you can click Edit Filter Value to see and modify the filter criteria. You can create your own filter by clicking Edit Filter Sets.
- Use Defined Profiling Points. When selected, any actions that are initiated by enabled profiling points in the project are performed. Disabled profiling points are ignored. When deselected, all profiling points in the project are ignored.

The Overhead bar graph provides you with a rough indication of the overhead that will be incurred when you profile the application with the current settings.

See Also
  Analyze Performance: Advanced Options
  Analyzing CPU Performance
  Profiling a Project or Class
  Setting Profiling Points

Legal Notices