Controlling Output

By default, the profiling facility will group the statistics it collects by publication and template: that is, it will generate one group of statistics for each publication on the server, with subgroups within each publication for each template. This means you can see how much time is used in a particular template for a particular document, how many database accesses each template generates and so on.

You may, however, want to break down the statistics for some templates even more, so that you can see exactly where in a template some problem is arising. You might also want to break the statistics for a publication down by section. On the other hand, you might not be interested in template-level statistics and want to simplify the output grouping.

The following sections describe how you can achieve these objectives.