Populate benchmark data from perf bot
Change-Id: Ifc184f1374add3015307f0bd11b8fd0021c99ca2
diff --git a/tools/upload_benchmark_data_to_google_storage.py b/tools/upload_benchmark_data_to_google_storage.py
index 66415f6..4fb9444 100755
--- a/tools/upload_benchmark_data_to_google_storage.py
+++ b/tools/upload_benchmark_data_to_google_storage.py
@@ -40,7 +40,7 @@
return None
-def main():
+def run():
# Get the N most recent commits sorted by newest first.
top = utils.get_sha1_from_revision('origin/main')
bottom = utils.get_nth_sha1_from_revision(NUM_COMMITS - 1, 'origin/main')
@@ -97,5 +97,9 @@
perf.ArchiveOutputFile(INDEX_HTML, 'perf/index.html')
+def main():
+ run()
+
+
if __name__ == '__main__':
sys.exit(main())