Checking business rule performance
You may wish to analyze the performance of :
Which business rules take the longest to execute?
How long does it take to open or save a root document?
How long does it take to switch to the next document?
Information that answers these questions is provided in the Debug-level
log.
Set the XBOUND log level to .
(For instructions, refer to XBOUND Help topic "Setting
up logging".)
Display the log messages. (If XBOUND service logging was configured,
use the XBOUND Log Explorer to do this. For instructions, refer to
XBOUND
Help topic "Displaying debug log messages".)
Important: When you finish collecting and analyzing
the data, remember to switch logging to a less verbose level.
Top 10 list
You will obtain the most detailed information from the "Top 10
list". This is a list of the business rules with the most total processing
time, in order of declining processing time.
This report is generated each time a document is processed in an activity
or in Verification. In the
case of Verification, the report is generated each time validation occurs.
The report is also generated each time a root document is processed
in an activity.
What is
the "Top 10 list"?
Context information: The name of the document (or "All
Documents in..."), root document, client, process, and process
step.
If Service Logging is used (rather than File System Logging
or Event Log), this context information is displayed in the corresponding
fields and can be used for filtering, for example.
Each subsequent line in the list contains the following
data, separated by semicolons:
The name of the business rule group.
Document type.
Display name of the business rule.
The rule's sequence in the processing order of the business
rules of a document type.
Total execution time in milliseconds.
Number of times the rule was executed.
Average execution time in milliseconds
Shortest execution time in milliseconds
Longest execution time in milliseconds
Example:
Business Rule
Statistics
All Documents
in Root Document '2000 Business Logic' in Client 'TEST' in Process
'2000 Business Logic' in Process Step 'Test Rules'
Top 10 Rules:
BusinessRuleGroup;DocumentType;Rule;Sequence;Total(ms);Count;Average(ms);Min(ms);Max(ms)
BusRuleGroup 1;DocType2;BusinessRule
A;18;40;2;20;20;20
BusRuleGroup 1;DocType1;BusinessRule
B;2;22;1;22;22;22
BusRuleGroup 1;DocType2;BusinessRule
C;17;20;2;10;10;10
BusRuleGroup 2;DocType1;BusinessRule
D;2;17;1;17;17;17
BusRuleGroup 1;DocType1;BusinessRule
E;1;16;1;16;16;16
BusRuleGroup 2;DocType1;BusinessRule
F;1;15;1;15;15;15
BusRuleGroup 2;DocType2;BusinessRule
G;2;14;2;7;7;7
BusRuleGroup 2;DocType2;BusinessRule
H;1;11;2;5;5;6
BusRuleGroup 1;DocType2;
BusinessRule I;1;8;1;8;8;8
BusRuleGroup 1;DocType2;
BusinessRule J;2;0;1;0;0;0
Other log entries that indirectly provide information about business
rule performance
Switching to a different document in Verification.
Example:
Change to
document 'TEST_C22012082115490.tif' in root document '2000 Business
Logic' took 2594 ms.
Opening a root document (selection in Document Manager to display
of the document to be processed).
Example:
Opening root
document '2000 Business Logic' took 41065 ms.
Saving or closing a root document.
Example:
Save root
document '2000 Business Logic' took 1873 ms
Related topics
Testing a business rule
Adding and configuring
a business rule
Editing a business rule
Business Logic: Overview