I am looking for a proper way to test the time it takes a page to fully load all its resources. What I\'ve done so far is add:
window.startTime = (new Date).
type this on your browser console:
var loadTime = window.performance.timing.domContentLoadedEventEnd- window.performance.timing.navigationStart; loadTime;