Skip to content

Commit

Permalink
Updated benchmark command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaWillems committed Jul 14, 2018
1 parent d53b098 commit 8a6184d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/benchmark-all.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
for example in EXAMPLES:
print("---- (%d/%d) Running %s in benchmark mode ----" % (CURR_INDEX+1, len(EXAMPLES), example))
if platform.system() == 'Linux':
RESULT_CODE = subprocess.call("./%s %s ./benchmark/%s 5" % (example, ARGS, example), shell=True)
RESULT_CODE = subprocess.call("./%s %s -bf ./benchmark/%s.csv 5" % (example, ARGS, example), shell=True)
else:
RESULT_CODE = subprocess.call("%s %s ./benchmark/%s 5" % (example, ARGS, example))
RESULT_CODE = subprocess.call("%s %s -bf ./benchmark/%s.csv 5" % (example, ARGS, example))
if RESULT_CODE == 0:
print("Results written to ./benchmark/%s.csv" % example)
else:
Expand Down

0 comments on commit 8a6184d

Please sign in to comment.