[Javascript] Measuring time to load page

Vinayakam Murugan mvinayakam at gmail.com
Sat Jul 23 14:03:30 CDT 2005


Hi 

I am working on a website which has to run on a kiosk like environment. 
Performance is very crucial here. I would like to measure the time it takes 
to load a page. I have tried

<script >
//Record Start Time
</script>

HTML Code

<script>
//Record End Time
//Display both time
</script>

Is this the most accurate way this can be measured? What happens if there is 
a heavy image and it is being fetched from the server. I want to know the 
time taken to display all the elements on the page completely.

-- 
Warm Regards
~~~~~~~~~~~~~~~
Vinayak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20050723/544a16a6/attachment.htm>


More information about the Javascript mailing list