Adobe COLDFUSION 9 Manual page 387

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Developing CFML Applications
Tree execution time format
The tree execution time format is a hierarchical, detailed view of how ColdFusion processes each page. If a page
includes or calls second page, the second page appears below and indented relative to the page that uses it. Each page
appears once for each time it is used. Therefore, if a page gets called three times in processing a request, it appears three
times in the tree. Therefore the tree view displays both processing times and an indication of the order of page
processing.
As in the summary view, the execution times (in parentheses) show the times to process the listed page and all pages
required to process the page, that is, all pages indented below the page in the tree.
By looking at this output in this image you can determine the following information:
• ColdFusion took 0 ms to process an Application.cfm page as part of the request.
• The requested page was tryinclude.cfm. It took 203 ms to process this page and all pages required to execute it. The
code directly on this page took 71 milliseconds (203 - 93 - 16 - 23) to process.
• The mytag2.cfm page was processed three times. All processing took 93 milliseconds, and the average processing
time was 31 milliseconds. (This page does not call any other pages.)
• The mytag1.cfm page was processed two times. All processing took 78 milliseconds, and the average processing
time was 39 milliseconds. This time included the time to process mytag2.cfm (this tag calls the mytag2 custom tag);
therefore, the code directly on the page took an average of 8 milliseconds and a total of 16 milliseconds to process.
• The includeme.cfm page took about 62 ms to process. This processing time includes the time to process the
mytag1.cfm, and therefore also the time to process mytag2.cfm once. Therefore the code directly on the page took
23 milliseconds (62-39) to process.
• ColdFusion took 125 ms for processing that was not associated with a specific page.
• The total processing time was 328 milliseconds, the sum of 125 + 203.
Database Activity
In the Administrator, when Database Activity is selected on the Debugging Settings page, the debugging output
includes information about database access.
SQL Queries
The SQL Queries section provides information about tags that generate SQL queries or result in retrieving a cached
database query:
,
cfquery
cfinsert
The output displays the following information:
• Page on which the query is located.
• The time when the query was made.
• Query name.
• An indicator if the result came from a cached query.
• SQL statement, including the results of processing any dynamic elements such as CFML variables and
tags. This information is useful because it shows the results of all ColdFusion processing of the SQL
cfqueryparam
statement.
• Data source name.
• Number of records returned; 0 indicates no match to the query.
• Query execution time.
• Any query parameters values from
,
, and
cfgridupdate
cfupdate
tags.
cfqueryparam
Last updated 8/5/2010
.
382

Advertisement

Table of Contents
loading

Table of Contents