From 679360dd9c7d8e2946c4b19ec77fcd07b39efb4c Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 30 Aug 2021 19:25:11 +0000 Subject: [PATCH] turn off timing for now --- themes/rule34v2/page.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/rule34v2/page.class.php b/themes/rule34v2/page.class.php index 7b632e39..4f98b33a 100644 --- a/themes/rule34v2/page.class.php +++ b/themes/rule34v2/page.class.php @@ -80,7 +80,7 @@ $header_html xhr.open("GET", "/stat.txt?" + new URLSearchParams(ob).toString(), true); xhr.send(); } - setTimeout(function(){ + function logTimes() { var t = window.performance.timing; stat({ "v": 1, @@ -93,7 +93,8 @@ $header_html "domInteractive": t.domInteractive - t.fetchStart, "domComplete": t.domComplete - t.fetchStart, }) - }, 3000); + } + // setTimeout(logTimes, 3000);