summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/examples/run_benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/leap/soledad/client/examples/run_benchmark.py')
-rw-r--r--client/src/leap/soledad/client/examples/run_benchmark.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/examples/run_benchmark.py b/client/src/leap/soledad/client/examples/run_benchmark.py
index 61621e89..ddedf433 100644
--- a/client/src/leap/soledad/client/examples/run_benchmark.py
+++ b/client/src/leap/soledad/client/examples/run_benchmark.py
@@ -14,6 +14,7 @@ cmd = "SILENT=1 TIMES={times} TMPDIR={tmpdir} python ./use_{version}api.py"
def parse_time(r):
return r.split('\n')[-1]
+
with open(CSVFILE, 'w') as log:
for times in range(0, 10000, 500):