Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Performance Profiler

You can run TIBCO BusinessEvents Performance Profiler utility to gather statistics about activities that occur during each RTC cycle. This information helps to identify bottlenecks in the project, which can often be addressed by redesigning rules or other aspects of a project.

The Profiler utility collects statistics relating to the run to completion (RTC) rule evaluation cycle in an inference agent. The utility does not collect data about object management. It also does not collect data for other types of agents. It helps you understand, for example, internal execution times and frequencies of rules.

The Profiler records time spent during each RTC on activities such as the number of times each condition or action is performed, and total time spent on each condition and action. A complete RTC includes conditions and actions, although any individual RTC might contain only conditions or only actions.

Statistics are collected for each completed RTC. When the Profiler is directed to stop during an RTC, it continues to collect data for the current RTC until that RTC is completed.

When the Profiler is turned off, it continues to write statistics for the current session until that session is completed. So the RTC in progress is always completed, even if the Profiler is directed to stop during an RTC.

After the Profiler finishes, the statistics data is written to the specified (or default) file and cleared from memory. The engine continues to run. If the engine stops before the Profiler completes, the file is not created.

You can run the Profiler and turn it off in three ways:

Using properties
The Profiler turns on when the agent initializes at system startup. Used to profile RTC time, including startup rule functions.
Using TIBCO BusinessEvents catalog functions
The Profiler turns at the beginning of the next RTC after the function call, if it has not already been enabled. (There is no effect if the Profiler is already on). Used to turn the Profiler on and off inside a rule or rule function.)
Using a TIBCO Hawk method
The Profiler turns on by invoking a TIBCO BusinessEvents microagent Hawk method. The Profiler is turned on at the beginning of the next RTC after the method call, if it has not already been enabled. (There is no effect if the Profiler is already on). Used to turn the Profiler on and off dynamically.
Subtopics

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.