If it's a query in question you can use cfquery.executiontime

If you want to know how long an entire template took to process you can use
gettickcount(). You can also turn on debugging in the CF Administrator for
much more useful debugging info.

<!--- place this at the top of your template --->
<cfset start=gettickcount()>

  <!--- code in question --->
  <cf code>

<!--- place this at the bottom of your template --->
<cfset exectime=(gettickcount()-start)>

<cfoutput>Execution Time #exectime# MS</cfoutput>


Joseph DeVore
VeloxWeb Technologies




-----Original Message-----
From: Christopher Dawes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 09, 2001 5:00 PM
To: CF-Talk
Subject: Accessing ColdFusion Execution Time Values



  Does anyone know of a way to access the coldfusion server execution
  times or the processing time data?

Christopher Dawes
Dawes International

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to