|
-
Jun 6th, 2001, 01:16 PM
#1
Thread Starter
Hyperactive Member
Page Loading Time
How can I track how long it took for a page to load?
Will the datediff function do it?
Thanks in advance.
-
Jun 6th, 2001, 01:40 PM
#2
Frenzied Member
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.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jun 6th, 2001, 01:45 PM
#3
Thread Starter
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|