Use the function GetTickCount() Before and after execution.  Then subtract
and display.

<cfset begin = GetTickCount()>
<Do Some CF STUFF Here>
<cfset end = ((GetTickCount()) - begin)>
<cfoutput>
It took #end# miliseconds to complete this stuff.
</cfoutput>

Jeff Garza
Web Developer
Spectrum Astro, Inc.
480-892-8200

[EMAIL PROTECTED]
http://www.spectrumastro.com



-----Original Message-----
From: Andrew Peterson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 1:58 PM
To: CF-Talk
Subject: Display execution time


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.

Thanks in advance,
Andy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        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