aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorYilun Chong <yilunchong@google.com>2018-09-26 10:39:13 -0700
committerYilun Chong <yilunchong@google.com>2018-09-26 10:39:13 -0700
commitdfa53e2fa2c8da279a6882b5796c14ed5c9c8645 (patch)
treebdd90854fe839b28db9da2d8da2951242a9ab413 /benchmarks
parentcee0447fd99efe20672c1bd070d6cdd658143d43 (diff)
downloadplatform_external_protobuf-dfa53e2fa2c8da279a6882b5796c14ed5c9c8645.tar.gz
platform_external_protobuf-dfa53e2fa2c8da279a6882b5796c14ed5c9c8645.tar.bz2
platform_external_protobuf-dfa53e2fa2c8da279a6882b5796c14ed5c9c8645.zip
fix comment out
Diffstat (limited to 'benchmarks')
-rwxr-xr-xbenchmarks/util/result_uploader.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmarks/util/result_uploader.py b/benchmarks/util/result_uploader.py
index 9167caf82..cff2d9d2a 100755
--- a/benchmarks/util/result_uploader.py
+++ b/benchmarks/util/result_uploader.py
@@ -60,13 +60,13 @@ def upload_result(result_list, metadata):
new_result["labels"] = labels_string[1:]
new_result["timestamp"] = _INITIAL_TIME
print(labels_string)
-#
-# bq = big_query_utils.create_big_query()
-# row = big_query_utils.make_row(str(uuid.uuid4()), new_result)
-# if not big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET,
-# _TABLE + "$" + _NOW,
-# [row]):
-# print('Error when uploading result', new_result)
+
+ bq = big_query_utils.create_big_query()
+ row = big_query_utils.make_row(str(uuid.uuid4()), new_result)
+ if not big_query_utils.insert_rows(bq, _PROJECT_ID, _DATASET,
+ _TABLE + "$" + _NOW,
+ [row]):
+ print('Error when uploading result', new_result)
if __name__ == "__main__":
@@ -104,4 +104,4 @@ if __name__ == "__main__":
node_file=args.node_input_file,
php_file=args.php_input_file,
php_c_file=args.php_c_input_file,
- ), metadata) \ No newline at end of file
+ ), metadata)