From 899f00682541ce0fe4042336c4101fb2f701635d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 29 Aug 2020 09:42:03 +0100 Subject: [PATCH] Extra benchmark --- webinterface.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webinterface.py b/webinterface.py index de930324..52db6f05 100644 --- a/webinterface.py +++ b/webinterface.py @@ -4331,12 +4331,18 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int, timeDiff = int((time.time() - postStartTime) * 1000) if timeDiff > 100: print('TIMING INDIV ' + boxName + ' 13.3 = ' + str(timeDiff)) + if ':' in announceDisplayName: announceDisplayName = \ addEmojiToDisplayName(baseDir, httpPrefix, nickname, domain, announceDisplayName, False) + # benchmark 13.3.1 + timeDiff = int((time.time() - postStartTime) * 1000) + if timeDiff > 100: + print('TIMING INDIV ' + boxName + ' 13.3.1 = ' + str(timeDiff)) + titleStr += \ '