watch wrap:

<cfobject action="CREATE" type="JAVA"
class="coldfusion.server.ServiceFactory" name="factory">
<cfset cfdebugger = factory.getDebuggingService()>
<cfset qEvents = cfdebugger.getDebugger().getData()>
<!--- <cfdump var="#qEvents#"> --->
<cfquery dbType="query" name="qryTime" debug="false">
SELECT sum(endTime - startTime) AS executionTime
FROM qEvents
WHERE type = 'Template' AND parent = ''
</cfquery>

<cfdump var="#qryTime#">

> -----Original Message-----
> From: Douglas Humphris [mailto:[EMAIL PROTECTED]]
> Sent: 17 January 2003 16:52
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Execution time on CFMX?
> 
> 
> Has anyone managed to figure out how to get the execution 
> time of a template on CFMX before I attempt to do it?
> 
> Cheers,
> Douglas
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to