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
[EMAIL PROTECTED]
ICQ: 12107010
 

Reply via email to