Skip to content
Snippets Groups Projects
Commit 879287f9 authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

collect_tests.py: write output of Bar/buz benchmark to results/buz.json

parent 90dc3ceb
No related branches found
No related tags found
1 merge request!92collect_tests.py: write output of Bar/buz benchmark to results/buz.json
......@@ -179,7 +179,7 @@ def _aggregate_results(results):
def _save(benchmark, results):
'''Save benchmark results'''
ofile = Path(OUTPUT_FILE.format(benchmark))
ofile = Path(OUTPUT_FILE.format(Path(benchmark).name))
print(' --> Saving benchmark results to:', ofile)
with ofile.open('w') as f:
json.dump(results, f, indent=4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment