Skip Headers

# Configuring the TopLink Performance Profiler

Previous

Next

To enable the TopLink performance profiler, select the TopLink profiler option when configuring your session (see "Configuring a Performance Profiler").

The TopLink performance profiler is an instance of `oracle.toplink.tools.profiler.PerformanceProfiler` class. It provides the following public API:

- `logProfile`–enables the profiler

- `dontLogProfile`–disables the profiler

- `logProfileSummary`–organizes the profiler log into a summary of all the individual operation profiles including operation statistics like the shortest time of all the operations that were profiled, the total time of all the operations, the number of objects returned by profiled queries, and the total time that was spent in each kind of operation that was profiled.

- `logProfileSummaryByQuery`–organizes the profiler log as query summaries. This is the default profiler behavior.

- `logProfileSummaryByClass`–organizes the profiler log as class summaries. This is an alternative to the default behavior implemented by `logProfileSummaryByQuery method`.