snippet library logo
in category
ASP / Miscellaneous / Have you got the Time?
Snippet details
ID: 249
Viewed: 1485
Added: 2002-07-25
Version:

User Rated at: 5 Stars
Rate This:
Snippets in this catagory         
Show Printable Version
Need to find out how long your page took to load? have a lot of database stuff to output and think it is running slow. This script will do just that.

General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: unknown

<!---Head--->
Dim StartTime, EndTime, LoadTime

<!---Body--->




'Start timer
StartTime = Timer()

'Do some code here, run what you want to have timed
'in this area.
 
'End timer
EndTime = Timer()

'Get load time
LoadTime = EndTime - StartTime

'Display load time
Response.Write "Page loaded in " & LoadTime & " seconds!"




No Reviews to show


Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Subject:

Reviewed By:

Write a review:





Terms of Conditions
Powered By
Avian Hosting
© 2005 snippetlibrary.com All Rights Reserved.