ASP / Miscellaneous / Have you got the Time?
Snippet details
ID: 249
Viewed: 1485
Added: 2002-07-25
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
