Categories
Performance Testing

Performance testing: Profiling using YJP

CPU view: (CPU View shows CPU consumption view)

The view consists of the following sections:

1. Call Tree (by thread, all threads together): Shows a top-down call tree for each thread

2. Hot Spots : Shows methods that consumed the most time

3. Method list: For each method, the list shows its time, its own time and, with CPU tracing, its invocation count. Methods are shown based on the filters.(Go to settingsFilters)

Callees’ list view: “Callees list” view shows which methods were called from certain methods. It is available as a slave view.

Callees list for “Call tree” shows methods invoked inside a selected sub tree. When you view “Call tree (by thread)”, Callees’ list will show methods invoked in the sub tree in particular thread only. To see all methods invoked in a thread, select the thread node.

Callees list for “Hot spots” and “Method list” shows methods invoked inside a selected method.

Method merged Callees view: This view shows merged Callees for a particular method, i.e. all call traces started from this method. This gives a summary of method execution and its “overall” behavior. (CPU menuMethod merged Callees view)

Method back traces view: this view show where a particular method was called. (CPU menuMethod back traces view)

J2EE high-level profiling:

Your Kit Java Profiler provides a way to profile J2EE applications in high-level terms like SQL statements and URLs.

To get profiling results, make sure J2EE Profiling is enabled before starting CPU profiling.

Disadvantage: Can add some slowdown.

The view consists of the following sections:

• SQL

Shows a list of SQL statements and back traces for all methods invoked with these statements

• JSPs and Servlets

Shows list a of URLs that correspond to JSP and Servlet calls, and merged Callees for all methods invoked with these URLs

• JNDI

Shows list of URLs that correspond to JNDI calls, and back traces for all methods invoked with these URLs

For each J2EE call CPU time and invocation count are reported.

Memory Profiling:

One reply on “Performance testing: Profiling using YJP”

Leave a Reply

Your email address will not be published. Required fields are marked *