Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1953)

Unified Diff: mojo/tools/mopy/perf_data_uploader.py

Issue 1420913002: Use local dashboard for test uploads in perf_data_uploader.py (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mopy/perf_data_uploader.py
diff --git a/mojo/tools/mopy/perf_data_uploader.py b/mojo/tools/mopy/perf_data_uploader.py
index 84e5280ab7bf1c8b96c87aaef8241b420cb62b11..248a316e4e098dc66dff9b87c91681d68ea9402d 100755
--- a/mojo/tools/mopy/perf_data_uploader.py
+++ b/mojo/tools/mopy/perf_data_uploader.py
@@ -3,7 +3,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""A tool that uploads data to the performance dashboard."""
+"""A tool that uploads data to the performance dashboard.
+
+By default the script uploads to a local testing dashboard assumed to be running
+on the host. To run such server, check out Catapult and follow instructions at
+https://github.com/catapult-project/catapult/blob/master/dashboard/README.md .
+"""
import argparse
import httplib
@@ -28,7 +33,7 @@ _PERF_LINE_FORMAT = r"""^\s*([^\s/]+) # chart name
\s*$"""
_PRODUCTION_SERVER = "https://chromeperf.appspot.com"
-_TESTING_SERVER = "https://chrome-perf.googleplex.com"
+_TESTING_SERVER = "http://127.0.0.1:8080"
def UploadPerfData(master_name, perf_id, test_name, builder_name, build_number,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698