Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
57
rated 0 times [  59] [ 2]  / answers: 1 / hits: 21016  / 16 Years ago, fri, march 20, 2009, 12:00:00

I'm interested in knowing the actual average page loadtime for my webapplication.



Simplistically, how log does my average visitor wait before they can start using a page on my site. From when they click the link to my site until the site is finished rendering & ready to accept input.



The standard solution seems to be to use Javascript to compare the time from a script in the until a script in the window.onload() event.



(See: http://www.dreamincode.net/code/snippet1908.htm)



This doesn't seem like a very acturate measure to me, as it ignores the time taken to resolve my domain & receive enough HTML content to begin Javascript parsig.



It also looks like Safari fires window.onload before the page has actually finished loading (http://www.howtocreate.co.uk/safaribenchmarks.html).



Any ideas?



Is it possible to get the time a the current request was initiated via Javascript?

What event fires after everything is ready reliably across all browsers?


More From » performance

 Answers
3

http://www.webpagetest.org/ is an excellent resource for measuring load time



Also google chorme dev tools has a Timeline panel where you can record events,
Here is a 2.5minute video showing you how Timeline in google chrome works http://www.youtube.com/watch?v=RhaWYQ44WEc


[#99819] Saturday, March 14, 2009, 16 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
devinjadong

Total Points: 711
Total Questions: 117
Total Answers: 100

Location: Andorra
Member since Sat, May 27, 2023
1 Year ago
devinjadong questions
Thu, Feb 17, 22, 00:00, 2 Years ago
Wed, Dec 8, 21, 00:00, 2 Years ago
Tue, Oct 27, 20, 00:00, 4 Years ago
Fri, Oct 18, 19, 00:00, 5 Years ago
;