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

Unified Diff: mojo/devtools/common/docs/mojo_benchmark.md

Issue 1427463003: Teach `mojo_benchmark` to upload results to perf dashboard. (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 | « mojo/devtools/common/devtoolslib/perf_dashboard.py ('k') | mojo/devtools/common/mojo_benchmark » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/docs/mojo_benchmark.md
diff --git a/mojo/devtools/common/docs/mojo_benchmark.md b/mojo/devtools/common/docs/mojo_benchmark.md
index 262f46274cc0e2fcca74e5e5c0e6a1400a33b3fc..bcca1add06d868292761f752dcdba7f3f683e132 100644
--- a/mojo/devtools/common/docs/mojo_benchmark.md
+++ b/mojo/devtools/common/docs/mojo_benchmark.md
@@ -72,3 +72,31 @@ benchmarks = [
},
]
```
+
+## Dashboard
+
+`mojo_benchmark` supports uploading the results to an instance of a Catapult
+performance dashboard. In order to upload the results of a run to performance
+dashboard, pass the `--upload` flag along with required meta-data describing the
+data being uploaded:
+
+```sh
+mojo_benchmark \
+--upload \
+--master-name my-master \
+--bot-name my-bot \
+--test-name my-test-suite
+--builder-name my-builder \
+--build-number my-build
+--server-url http://my-server.example.com
+```
+
+If no `--server-url` is specified, the script assumes that a local instance of
+the dashboard is running at `http://localhost:8080`. The script assumes that the
+working directory from which it is called is a git repository and queries it to
+determine the sequential number identifying the revision (as the number of
+commits in the current branch in the repository).
+
+For more information refer to:
+
+ - [Catapult project](https://github.com/catapult-project/catapult)
« no previous file with comments | « mojo/devtools/common/devtoolslib/perf_dashboard.py ('k') | mojo/devtools/common/mojo_benchmark » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698