From 700131bb13ca87552b1a32fc9ecda112e3e43ac3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Aug 2020 23:46:12 +0100 Subject: [PATCH] Extra benchmark --- webinterface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webinterface.py b/webinterface.py index a1359ec07..53c85d1bc 100644 --- a/webinterface.py +++ b/webinterface.py @@ -4243,6 +4243,11 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int, bookmarkTitle + ' |" src="/' + iconsDir + \ '/' + bookmarkIcon + '"/>\n' + # benchmark 12.9 + timeDiff = int((time.time() - postStartTime) * 1000) + if timeDiff > 100: + print('TIMING INDIV ' + boxName + ' 12.9 = ' + str(timeDiff)) + isMuted = postIsMuted(baseDir, nickname, domain, postJsonObject, messageId) # benchmark 13