summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wong2017-07-28 16:51:34 +0000
committerMark Wong2017-12-19 00:18:59 +0000
commit5fe434b17a6a853ab756de3cddd34a66f0167dba (patch)
tree45aff30091d35346505a867485737a02bf4d413c
parentdad05590be6a56ba8fcccbea73f77a12a2978b37 (diff)
Saved timestamp from test start
-rw-r--r--client/benchmarks/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/benchmarks/runner.py b/client/benchmarks/runner.py
index b6f7bd5..a63c4c3 100644
--- a/client/benchmarks/runner.py
+++ b/client/benchmarks/runner.py
@@ -1,6 +1,8 @@
import json
import os
+from time import gmtime, strftime
+
from utils.logging import log
from multiprocessing import Process, Queue
@@ -111,6 +113,7 @@ class BenchmarkRunner(object):
r['postgres-log'] = f.read()
r['meta'] = {'benchmark': config['benchmark'],
+ 'date': strftime("%Y-%m-%d %H:%M:%S.000000+00", gmtime()),
'name': config_name}
os.remove('pg.log')