> Forgive my ignorance, but is there a way to display page and/or 
> query execution time within a web page? I do not have access to 
> the server that the page is running on and therefore cannot turn 
> on "Show processing time" in the Debug settings of the Administrator.

You can reference the variable CFQUERY.ExecutionTime in your code after
executing a query. For the execution of a page, you can use the GetTickCount
function at the top and bottom of your page, and compare the difference:

<cfset PageStart = GetTickCount()>

.... your page ...

<cfset PageEnd = GetTickCount() - PageStart>
<cfoutput>This page took #PageEnd# milliseconds</cfoutput>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to