summaryrefslogtreecommitdiff
path: root/client/benchmarks/pgbench.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/benchmarks/pgbench.py')
-rw-r--r--client/benchmarks/pgbench.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/benchmarks/pgbench.py b/client/benchmarks/pgbench.py
index ab4238f..01f681f 100644
--- a/client/benchmarks/pgbench.py
+++ b/client/benchmarks/pgbench.py
@@ -249,12 +249,12 @@ class PgBench(object):
r.update({'run': i})
results[tag][scale][clients]['results'].append(r)
- tps = []
- for result in results[tag][scale][clients]['results']:
- tps.append(float(result['tps']))
- results[tag][scale][clients]['metric'] = mean(tps)
- results[tag][scale][clients]['median'] = median(tps)
- results[tag][scale][clients]['std'] = std(tps)
+ tps = []
+ for result in results[tag][scale][clients]['results']:
+ tps.append(float(result['tps']))
+ results[tag][scale][clients]['metric'] = mean(tps)
+ results[tag][scale][clients]['median'] = median(tps)
+ results[tag][scale][clients]['std'] = std(tps)
self._results['pgbench'] = results
return self._results