projects
/
pgperffarm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
457432e
)
Always write results of a test to results.json
author
Mark Wong
<mark@2ndQuadrant.com>
Sun, 30 Jul 2017 23:19:35 +0000
(16:19 -0700)
committer
Mark Wong
<mark@2ndQuadrant.com>
Fri, 5 Jan 2018 19:36:29 +0000
(11:36 -0800)
The idea is to keep things simple by having a directory of results per
test, and to have each directory with a consistently named results
files.
client/benchmarks/runner.py
patch
|
blob
|
blame
|
history
diff --git
a/client/benchmarks/runner.py
b/client/benchmarks/runner.py
index 5686a3c7b9cbf67ec02068d94389669d9490f8fd..41a3d7e8253c2e74b5173198008edd4a47136622 100644
(file)
--- a/
client/benchmarks/runner.py
+++ b/
client/benchmarks/runner.py
@@
-118,7
+118,7
@@
class BenchmarkRunner(object):
'uname': uname,
}
- with open('%s/
%s.json' % (self._output, config_name)
, 'w') as f:
+ with open('%s/
results.json' % self._output
, 'w') as f:
f.write(json.dumps(r, indent=4))
def run(self):