|
From: Robert R. <rra...@ya...> - 2000-12-12 05:51:01
|
It might be better to run the timer until you have successfully
created x number of layers, using their oncreate event.
--
// Robert Rainwater
On 12/11/2000, 11:44:23 PM EST, Michael wrote about "[Dynapi-Dev] Speed test":
> 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
|