Begin performance analysis by collecting execution time
analysis data for a profiling run.
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: