Skip to content
Snippets Groups Projects
Commit fc4f72a9 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix uploader

parent aa64ddf1
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ def collect_summary(bm_name, args): ...@@ -152,7 +152,7 @@ def collect_summary(bm_name, args):
'--benchmark_out_format=json'])) '--benchmark_out_format=json']))
if args.bigquery_upload: if args.bigquery_upload:
with open('/tmp/out.csv', 'w') as f: with open('/tmp/out.csv', 'w') as f:
f.write(subprocess.check_output(['tools/profiling/microbenchmarks/bm2bq.py out.json'])) f.write(subprocess.check_output(['tools/profiling/microbenchmarks/bm2bq.py', 'out.json']))
subprocess.check_call(['bq', 'load', 'microbenchmarks.microbenchmarks', 'out.csv']) subprocess.check_call(['bq', 'load', 'microbenchmarks.microbenchmarks', 'out.csv'])
collectors = { collectors = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment