Problem:
Release 4.0:
When using the Profiler Utility to analyse the performances of the programs a large part of the time spent seems to go to an 'unnamed paragraph' part shown in the output.
Total time: 9234 milliseconds. Module called once.
% time time entries ms/entry paragraph
-------------------------------------------------------------------------------
98.69 9113 1 9113 Unnamed Paragraph 0021
0.99 91 1 91 A8
0.11 10 1 10 A30
0.11 10 1 10 A50
0.11 10 1 10 A8030
0.00 0 10 0 X10
What can be the cause of this?
Resolution:
There are a number of reasons for the unnamed paragraphs, and it's all related to the way programs are written, and how profiler interprets them. As an example. if a program has sections without subsequent paragraphs, or in-line performs and evaluate statements, all of these will generate unnamed paragraphs in profiler in order to manage the blocks of code in these constructs.
The profile option should add the unnamed paragraphs to the program listing in order to allow customers to try and relate the unnamed paragraphs to the code.
Time will be accounted against an unknown paragraph until the program hits a paragraph or section name.