turn off timing for now
This commit is contained in:
parent
3f0a8399d1
commit
679360dd9c
1 changed files with 3 additions and 2 deletions
|
@ -80,7 +80,7 @@ $header_html
|
||||||
xhr.open("GET", "/stat.txt?" + new URLSearchParams(ob).toString(), true);
|
xhr.open("GET", "/stat.txt?" + new URLSearchParams(ob).toString(), true);
|
||||||
xhr.send();
|
xhr.send();
|
||||||
}
|
}
|
||||||
setTimeout(function(){
|
function logTimes() {
|
||||||
var t = window.performance.timing;
|
var t = window.performance.timing;
|
||||||
stat({
|
stat({
|
||||||
"v": 1,
|
"v": 1,
|
||||||
|
@ -93,7 +93,8 @@ $header_html
|
||||||
"domInteractive": t.domInteractive - t.fetchStart,
|
"domInteractive": t.domInteractive - t.fetchStart,
|
||||||
"domComplete": t.domComplete - t.fetchStart,
|
"domComplete": t.domComplete - t.fetchStart,
|
||||||
})
|
})
|
||||||
}, 3000);
|
}
|
||||||
|
// setTimeout(logTimes, 3000);
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
Reference in a new issue