The Assembler tracks performance statistics for registered events;
this information is available from the administrative servlet at
http://<workbench host>:<workbench
port>/<application>/admin using the
/admin?op=stats operation.
For
example, you can view the performance statistics for the default Discover
Electronics application by navigating to
http://localhost:8006/discover-authoring/admin?op=stats.
For more information about the administrative servlet, see the
Oracle Commerce Administrator's Guide.
Performance logging is enabled for the core cartridges included with
Tools and Frameworks. If you create a custom cartridge handler and wish to
track its processing time, you must use the static
PerfUtil.start() method to create a corresponding
Event.
Example 4. Example
For example:
Event event = PerfUtil.start("com.example.ClassName_MyMethod");
try {
/* cartridge handler logic */
event.succeed();
} finally {
event.failIfNotCompleted();
}
Note
A call to
PerfUtil.start must include a corresponding call to
either the
Event.succeed() or
Event.fail() method of the returned
Event instance. Oracle recommends using the
Event.failIfNotCompleted() helper method within a
finally{} block to ensure proper resolution.
For more information about the
com.endeca.infront.perf package, see the
Assembler API Reference (Javadoc).

