Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display execution time on the web page

Status
Not open for further replies.

jettbaker

Programmer
Jan 31, 2001
11
US
I would like to display page load, execution time ( similar to debug line ) within the web page itself,

 
There really isn't a way to tell how long it takes the page to download and display in the browser but you can tell how long the page takes to execute.

Here's an example:

<!--- At top of page --->
<cfset sTime = getTickCount()>

.... other code here....

<!--- At bottom of page --->
<cfoutput>#evaluate(getTickCount() - sTime)# milliseconds</cfoutput>

Hope this helps,
GJ
 
Thank you GunJack
This was exactly what we were looking for,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top