RE: Calculating Page Load Time

"Schwartz, Stan" <[email protected]>
Newsgroups gmane.comp.web.dom.wdf
Message-ID <A9CE0BB3CC367F48A2C8B34672BC642BA29817@stlo-mailusr08.stlo.mercy.net>
Agreed!  Excellent forum!

Sorry. :)  I'm somewhat of a noob and I recently found the browser.Busy
property and thought you might be able to use it.  For example: after
getting the start time of the initial hit, start a timer that keeps checking
browser.Busy, every 250 milliseconds.  When the browser is no longer busy
stop the timer.

browser.Busy info here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dninvbs/htm
l/chapterthreeunderstandingautomationbrowserarchitecture.asp

Stan :)

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Maninder, Singh
Sent: Friday, January 27, 2006 10:12 AM
To: [email protected]; [email protected]
Subject: RE: [wdf-dom] Calculating Page Load Time

I love this forum. It never fails to suprise me.

Post a question and bang you receive answers and really good ones :)

Thanks Guys :)

@James Childers - As Ryan has pointed out onLoad doesn't fire until all of
the content (including external content like style sheets, iframes, etc) has
been downloaded. So, your claim is incorrect.

@Schwartz Stan - I didn't understand what you were trying to say :)

@Ryan Hicks - Thank you for your suggestions. Everything makes sense (and at
least this way I would roughly get an idea of the page load time). Or at
least when the page is usable by the user. Just one thing - what do you mean
by "all content is download and initialized"? Download is fine but could you
please elaborate on initialized?

@Chris - Thanks for all the support Chris and also some more insight into
how I could make this better.

Basically, most of my userbase is on dial up. So, every single kilobyte
makes a difference. My task is to cut on the page size (and increase
download speed - at least speed the usable page download time). For doing
tests I need to know how much time the original page took and then once I
start cutting down on the code, I need to check with the earlier time. So, I
was trying to come up with something that would give me an idea of how good
/ bad job I have done :)

Thank you,
Mandy.



[Non-text portions of this message have been removed]



Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html
Yahoo! Groups Links



 


Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.