User Guide

Table Of Contents
428 Chapter 18: Debugging and Troubleshooting Applications
Execution Time
The Execution Time section displays the time required to process the request. It displays
information about the time required to process all pages required for the request, including the
Application.cfc, Application.cfm, and OnRequestEnd.cfm pages, if used, and any CFML custom
tags, pages included by the
cfinclude tag, and any ColdFusion component (CFC) pages.
Tip: To display execution time for a specific block of code, use the cftimer tag.
You can display the execution time in two formats:
Summary
Tr e e
Note: Execution tine decreases substantially between the first and second time you use a page after
creating it or changing it. The first time ColdFusion uses a page it compiles the page into Java
bytecode, which the server saves and loads into memory. Subsequent uses of unmodified pages do
not require recompilation of the code, and therefore are substantially faster.
Summary execution time format
The summary format displays one entry for each ColdFusion page processed during the request.
If a page is processed multiple times it appears only once in the summary. For example, if a
custom tag gets called three time in a request, it appears only once in the output. In the
classic.cfm output format, the summary format looks like the following figure:
The following table describes the display fields:
Column Description
Total Time The total time required to process all instances of the page and all pages that it
uses. For example, if a request causes a page to be processed two times, and the
page includes another page, the total time includes the time required to process
both pages twice.
Avg Time The average time for processing each instance of this page and the pages that it
uses. The Avg Time multiplied by the Count equals the Total Time.