[thelist] Re: ASP script running time.

Craig cd-ml at aardvark.net.au
Thu Mar 13 00:02:23 CST 2003


Thanks. This seems the only way to do it without a COM component, and can
display it in milliseconds.
Craig.
----- Original Message ----- 
From: "pouncyisdead" <pouncy_1 at hotmail.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, March 13, 2003 4:49 AM
Subject: [thelist] Re: ASP script running time.

> I use the snippet below to time scripts:
>
> <%
> '-- Script Timer Config
>  DIM nStartTime,nEndTime,nTime
>    nStartTime = Timer()
>
>
> '-- Input your code here! --'
> '...
> '--  End your code here!  --'
>
>
>    nEndTime = Timer()
>
> '-- Find and write total elapsed time.
>  nTime = nEndTime - nStartTime
>  Response.Write(nTime)
> %>



More information about the thelist mailing list