From: Michael P. <mp...@ph...> - 2000-12-12 04:46:13
|
With all the talk of splitting the API and attempting to make it smaller / faster, I thought it would be useful to be able to see how long it actually take a page to download / render without the use of a stop watch. Here's what I did: I added the following line before "DynAPI = {" var Start = new Date() I also added the following lines at the end of the loadhandler function: var Stop = new Date(); var Diff = (Stop.getTime() - Start.getTime()) / 1000; window.status='Page loaded in: ' + Diff + ' seconds'; I hope this is of some use. -- Michael Pemberton mp...@ph... ICQ: 12107010 |