Main Topics
Browse All TopicsHello All,
I am designing a Webapplication using different ways. Now i have to test the performance of the each method, for that i have to show the time taken by each application(web page) to open on the browser.
Could you tell me, how can i calculate(using html/javascript) time taken by the webpage to open?
Thanks
ravi
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
XAT's WebSpeed Simulator is a nice tool that lets you 'simulate' download speeds. It works as a basic web server and introduces delays similar to those of the connection type you want to simulate, so you can experience first-hand what it would look like if you were opening it on a 33k modem, a 56k modem, ISDN or whatever you fancy. It is **very usefull** to SEE it as it shows you what components get loaded first and how the page looks as the pictures and such come in one by one.
At the same time, it compiles statistics on every request made (size, time to download, in which order do they come in, etc..) and produces a report you can peruse and read...
http://www.xat.com/wo/
If you're using ASP and you want to calculate how long it takes for the server to generate the page, use this:
' Put this at the top of the page, but below Option Explicit if you use it.
<%
Dim startTime, endTime
startTime = now()
%>
' Put this at the very bottom of your page
<%
Response.Write "Page Load Time: " & formatnumber(Timer() - startTime, 2) & " sec."
%>
Just split 30/30 to radhakrishna and ramu_src2k as, in a way, I didn't really answer the question as the author wanted a javascript or html(???) method. And it's not 20 points that'll get me anywhere near my monthly 3k points. -- Thanks.
(I still think XAT's webspeed simulator's the best thing in the world )
Business Accounts
Answer for Membership
by: rk_radhakrishnaPosted on 2004-12-19 at 06:28:25ID: 12861688
Its a freeware tool not the script: ---------- org/2004/0 3/19/ how_t o_calculat e_the_exac t.htm
--------------------------
http://www.masternewmedia.