[thelist] RE: ASP script running time
Neil Moodley
Neil.Moodley at uk.wdsglobal.com
Wed Mar 12 06:15:45 CST 2003
Hi Craig,
TOP OF CODE:
dim startTiming
startTiming = now()
END OF CODE:
dim endTiming
endTiming = now()
response.write (formatnumber(endTiming - startTiming,10))
Bear in mind that adding this sort of thing in will (everso) slightly
increase the resource requirements of the page and therefore produce an
artificial figure (albeit only a teensy bit artificial)...
hope that helps
Neil
-----------------------------------------------------------
Date: Wed, 12 Mar 2003 21:08:47 +0930
From: "Craig" <cd-ml at aardvark.net.au>
To: <thelist at lists.evolt.org>
Subject: [thelist] ASP script running time.
Message-ID: <003101c2e88b$f4e67f80$5b76ddcb at fx1>
Content-Type: text/plain;
charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Reply-To: "evolt.org mailing list devoted to the web"
<thelist at lists.evolt.org>
Message: 1
Hi,
Does anyone have a way of calculating the running time of a script in a
VBScript ASP page?
I would like to print out how long it took to process the page and print it
at
the bottom.
Thanks,
Craig.
------------------------------
_______________________________________________
Help: http://lists.evolt.org/mailman/listinfo/thelist
Archives: http://lists.evolt.org
End of thelist Digest, Vol 1, Issue 6
*************************************
More information about the thelist
mailing list