Collecting performance data
Begin performance analysis by collecting execution time analysis data for a profiling run.
Prerequisites:
- Agent Controller must be running on the machine on which you are collecting data. For information, refer to the installation guide.
- Create a profiling configuration. Read Getting started: Creating a profiling configuration for run-time problem determination
To collect data:
- In the Profiling tab (Overview subtab) of the Profile dialog box, select the Execution History - Full Performance Call Graph profiling set.
- Verify that all settings are correct: Click Edit, and do the following in the Edit Profiling Set dialog box:
- Make sure the checkboxes for Time Analysis and Execution Time Analysis are checked.
- Select Execution Time Analysis.
- Select Show execution flow graphical details.
- Optionally, select whether to collect instance level information for display in the Instance Statistics view, which is used for studying garbage collection. Collecting this information slows down the data collection process.
- Optionally, select whether to collect boundary classes excluded by the filter, and if so at what depth; this can be useful for detailed trace analysis. Collecting this information slows down the data collection process.
- Optionally, you can select additional profiling types (except for the Leak Detection profiling types) to collect supplementary data at the same time. Note however that collecting more data slows the data collection process.
- Click the Finish button.
- Click the Profile button to start your application.
- Exercise the parts of your application that you want to profile. You can now terminate your application.
Note: It is sometimes useful to limit data collection. For information, read:
Limiting performance data collection
Limit performance data collection in order to focus on specific parts of your code and to speed up the profiling process.
Parent topic
Detecting performance bottlenecks
Related tasks
Viewing and analyzing performance data
Related reference
Execution Time Analysis page, Edit Profiling Set dialog box
Related information
Getting started: Profiling J2EE applications