mirror of https://gitlab.com/bashrc2/epicyon
Comment
parent
e03a03e548
commit
7ca718d8af
|
@ -847,6 +847,8 @@ def getReplyHtml(translate: {}, iconsPath: str,
|
||||||
|
|
||||||
|
|
||||||
def logPostTiming(enableTimingLog: bool, postStartTime, debugId: str) -> None:
|
def logPostTiming(enableTimingLog: bool, postStartTime, debugId: str) -> None:
|
||||||
|
"""Create a log of timings for performance tuning
|
||||||
|
"""
|
||||||
if not enableTimingLog:
|
if not enableTimingLog:
|
||||||
return
|
return
|
||||||
timeDiff = int((time.time() - postStartTime) * 1000)
|
timeDiff = int((time.time() - postStartTime) * 1000)
|
||||||
|
|
Loading…
Reference in New Issue