Show timings

main
Bob Mottram 2020-08-28 21:31:40 +01:00
parent 9fc0c4b653
commit c9eee595c5
1 changed files with 1 additions and 2 deletions

View File

@ -1131,8 +1131,7 @@ class PubServer(BaseHTTPRequestHandler):
timeDiff = int(timeDiff - int(GETtimings[prevGetId])) timeDiff = int(timeDiff - int(GETtimings[prevGetId]))
GETtimings[currGetId] = str(timeDiff) GETtimings[currGetId] = str(timeDiff)
if logEvent: if logEvent:
for Id, timeDiff in GETtimings.items(): print('GET TIMING ' + currGetId + ' = ' + str(timeDiff))
print('GET TIMING|' + Id + '|' + timeDiff)
def _benchmarkPOSTtimings(self, POSTstartTime, POSTtimings: [], def _benchmarkPOSTtimings(self, POSTstartTime, POSTtimings: [],
postID: int): postID: int):