From 459e354704fd221f14604da947623ebc9ce44133 Mon Sep 17 00:00:00 2001 From: fly Date: Sat, 28 Dec 2019 19:39:19 +0000 Subject: [PATCH] Also look at db times Signed-off-by: fly --- scripts/analyse-run-time.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/analyse-run-time.py b/scripts/analyse-run-time.py index da740f5..8c3c085 100755 --- a/scripts/analyse-run-time.py +++ b/scripts/analyse-run-time.py @@ -69,6 +69,9 @@ if read_src: match = re.findall("SpawnPoolWorker-\d+ root INFO +Time used in seconds for (.*): (\d+\.\d+)", line) if match != []: times.append(match[0]) + match = re.findall("SpawnPoolWorker-\d+ root INFO +(Reading OSM .* data for \['.*'\]) from db took (\d+\.\d+) seconds.", line) + if match != []: + times.append(match[0]) except: print("err") sys.exit(1)