main
Bob Mottram 2020-12-01 13:46:43 +00:00
parent e03a03e548
commit 7ca718d8af
1 changed files with 2 additions and 0 deletions

View File

@ -847,6 +847,8 @@ def getReplyHtml(translate: {}, iconsPath: str,
def logPostTiming(enableTimingLog: bool, postStartTime, debugId: str) -> None:
"""Create a log of timings for performance tuning
"""
if not enableTimingLog:
return
timeDiff = int((time.time() - postStartTime) * 1000)