PDA

Click to See Complete Forum and Search --> : Page Loading Time


dcarlson
Jun 6th, 2001, 01:16 PM
How can I track how long it took for a page to load?

Will the datediff function do it?

Thanks in advance.

CiberTHuG
Jun 6th, 2001, 01:40 PM
You have to start a timer or grab the epoch seconds just before you ask for the page, then then stop the timer or get the epoch seconds when the page it done. You have to build a client to actually ask for the page.

I used to have a Perl script that did that.

Anyway, it will only time the responsiveness of the server and the time to download the file(s). It won't take into consideration how long it takes the browser to draw the page. (Opera draws much faster than IE or Netscape)

This is client side, not server side. You can't put anything into the web page that will time it.

dcarlson
Jun 6th, 2001, 01:45 PM
Thanks for the quick response.

Basically, all I want to do is time how fast it loads on the server, from start to finish and post that on the web page that's loading.