SQL profiling | Mapping an SQL statement to Java code
14.2 Java code profiling
Code profiling tools are used to capture all method invocations and their execution times during a request. This information can then be used to identify areas in the code that are causing bottlenecks and affecting performance. With this information a developer can then revisit a particular area of his code and rework it to solve the performance issue.
A tutorial on how to conduct Java code profiling with the Rational® profiling tool using WebSphere Commerce is available.