parent
d53b098017
commit
8a6184dc81
1 changed files with 2 additions and 2 deletions
|
|
@ -72,9 +72,9 @@ os.makedirs("./benchmark", exist_ok=True)
|
||||||
for example in EXAMPLES:
|
for example in EXAMPLES:
|
||||||
print("---- (%d/%d) Running %s in benchmark mode ----" % (CURR_INDEX+1, len(EXAMPLES), example))
|
print("---- (%d/%d) Running %s in benchmark mode ----" % (CURR_INDEX+1, len(EXAMPLES), example))
|
||||||
if platform.system() == 'Linux':
|
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:
|
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:
|
if RESULT_CODE == 0:
|
||||||
print("Results written to ./benchmark/%s.csv" % example)
|
print("Results written to ./benchmark/%s.csv" % example)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue