Analyzing CPU Performance

See Also

This task analyzes the performance of the target application. You can choose to profile the entire application or limit the code that is instrumented by specifying a or use filters to control the classes that are profiled.

When you run this profiling task you receive the following profiling results:

To analyze performance of the application:

  1. Choose Profile > Profile Main Project from the main menu.
  2. Click CPU in the left pane of the Select Profiling Task window.

    When you click CPU, the button expands to give you the option of using the default configuration, creating a new custom configuration or using an existing custom configuration.

  3. Select one of the profiling options: If you select Part of Application, you also need to specify the root methods to instrument.
  4. Specify a filter.
  5. If desired, you can use profiling points to control profiler actions.
  6. Click Run.

When you click Run, the target application launches and the profiling session starts.

Custom Configurations

When you create a custom configuration you have complete control over all of the available internal settings for that profiling task. You can create, store, and assign names to separate sets of custom profiling settings. The custom configuration is associated with a specific project and is listed in the Select Profiling Task window when you profile the project.

You can modify the custom configurations in the Select Profiling Task dialog box. You can also set more advanced profiling options by clicking Advanced Settings. Custom configurations are automatically saved between IDE work sessions so that they can be reused and modified.

To create a custom configuration:

  1. Choose Profile > Profile Main Project from the main menu.
  2. Click CPU in the left pane of the Select Task window to expand the button.
  3. Click Create Custom.
  4. Type a name for the configuration.
  5. Select the initial settings for the configuration and click OK. You then modify the initial settings when you customize the configuration.
  6. Select one of the following profiling options: If you select Part of Application, you also need to specify the root methods to instrument.
  7. Specify a filter.
  8. If desired, you can use profiling points to control profiler actions.
  9. Click Advanced Settings to set more advanced profiling options.
  10. Click Run to start the profiling session.

When you click Run, the target application launches and the profiling task starts.

See Also
Analyze Performance: Basic Options
Analyze Performance: Advanced Options
Selecting a Profiling Task
Setting Filters
Specifying a Root Method
Setting Profiling Points
About Profiling Results

Legal Notices