15.2.7 Resolving performance bottlenecks - Execution time analysis
Profiling gives you insight into the performance characteristics of an application, and its runtime behavior. Both helps you to get a better understanding of an applications' resource requirements and finding potential performance bottlenecks.
This section explains how to use the Profiler to analyze the performance of a WebSphere based J2EE application. The different steps needed to perform a runtime analysis and to detect and resolve a performance bottleneck are shown using a modified Trade 6 sample application. We provide an example of how to use the Execution time analysis. If you are interested in an example of how to use the code coverage analysis, see Chapter 24, "Profile applications" in Rational Application Developer V6 Programming Guide, SG24-6449.
If you want to follow the steps explained here, we recommend that you first read the entire section, then import the Trade 6 application into your workbench, make the appropriate changes to the source code as shown in Example 15-1, then start with the testing.