window.onload = function(){
var now = (new Date()).getTime();
var t = "navigationStart : "+(now - performance.timing.navigationStart);
t += "<br>unloadEventStart : "+(now - performance.timing.unloadEventStart);
t += "<br>unloadEventEnd : "+(now - performance.timing.unloadEventEnd);
t += "<br>redirectStart : "+(now - performance.timing.redirectStart);
t += "<br>redirectEnd : "+(now - performance.timing.redirectEnd);
t += "<br>fetchStart : "+(now - performance.timing.fetchStart);
t += "<br>domainLookupStart : "+(now - performance.timing.domainLookupStart);
t += "<br>domainLookupEnd : "+(now - performance.timing.domainLookupEnd);
t += "<br>connectStart : "+(now - performance.timing.connectStart);
t += "<br>connectEnd : "+(now - performance.timing.connectEnd);
t += "<br>secureConnectionStart : "+(now - performance.timing.secureConnectionStart);
t += "<br>requestStart : "+(now - performance.timing.requestStart);
t += "<br>responseStart : "+(now - performance.timing.responseStart);
t += "<br>responseEnd : "+(now - performance.timing.responseEnd);
t += "<br>domLoading : "+(now - performance.timing.domLoading);
t += "<br>domInteractive : "+(now - performance.timing.domInteractive);
t += "<br>domContentLoadedEventStart : "+(now - performance.timing.domContentLoaded);
t += "<br>domContentLoadedEventEnd : "+(now - performance.timing.domContentLoaded);
t += "<br>domComplete : "+(now - performance.timing.domComplete);
t += "<br>loadEventStart : "+(now - performance.timing.loadEventStart);
t += "<br>loadEventEnd : "+(now - performance.timing.loadEventEnd);
document.getElementById("result").innerHTML = t;
}