This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Table of Contents

Use the V4.2 Profiler tool to monitor performance of an activity


A developer asks:

We would like to leverage the Performance tool to get more details down at the activity level.

When an MQ feed comes into the system, we would like to identify which activities and which steps took more time and need enhancements.

From the beginning to the end, about 60 activities execute.Is there a way to get this detail at a higher level -- rather than instrumenting all 60 activities?

Suggested Approach

The Performance tool (PAL) doesn't help in this case because it does not report performance down to the activity level. PAL displays tell you only the elapsed time of services.. 

Version 4.2 includes the Profiler tool , which writes to a logfile the timestamps for activities and a few other rule type s as they are executing. 

Operation of the Profiler tool is controlled by settings in the pegarules.xml file.  You can't restrict the Profiler to record only service activitiess only, but in a controlled test environment you could gain useful information.

For instructions on the V4.2 Profiler, see the System Tools paper Using Performance Tools 4.2.


Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.