From 5fe434b17a6a853ab756de3cddd34a66f0167dba Mon Sep 17 00:00:00 2001 From: Mark Wong Date: Fri, 28 Jul 2017 09:51:34 -0700 Subject: Saved timestamp from test start --- client/benchmarks/runner.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/benchmarks/runner.py') 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') -- cgit v1.2.3