I want to calculate the page load time; This means from second 0 (a little jquery snippet was loaded) to second x, when the whole page is loaded.
i wonder if any one had an experience with it, also ideas how to implement it correctly will be apperciated.
please i don’t need an extension, i already have firebug, i need a js solution
thanks 🙂
As others have mentioned, this is not going to be terribly accurate. But this should work reasonably.
In your
<head>, i.e., as early as possible:The key is this behavior, from the jQuery docs: