I am writing an application that measures the time it takes to load a web page and all of the objects within.
I'm currently using the onStateChange() method of the WebProgressListener interface to do this. I record the time at STATE_START and STATE_STOP. Everthing seems to work fine, but when I compare the times to the times the packets are actually received using ethereal/tcpdump there is a huge difference. A typical object may take 5 or 10 milliseconds from the time of the GET request to the time the download is complete. Data from the WebProgressListener indicates a time of 800 ms or more! My question is this: Is WebProgressListener suitable for timing applications such as this? If not can anyone offer an alternative? Thanks in advance. JV _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
