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

Unified Diff: mojo/devtools/common/mojo_benchmark

Issue 1423233002: Centralize mojo_benchmark documentation. (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/docs/mojo_benchmark.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/mojo_benchmark
diff --git a/mojo/devtools/common/mojo_benchmark b/mojo/devtools/common/mojo_benchmark
index 4a5c6fef81fc35bf8fc3f8ae91c16d833b706cfa..fc0258e09967aebbec025930fd2081c3b1ec865a 100755
--- a/mojo/devtools/common/mojo_benchmark
+++ b/mojo/devtools/common/mojo_benchmark
@@ -20,47 +20,8 @@ from devtoolslib import perf_dashboard
_DESCRIPTION = """Runner for Mojo application benchmarks.
|benchmark_list_file| has to be a valid Python program that sets a |benchmarks|
-global variable, containing entries of the following form:
-
- {
- 'name': '<name of the benchmark>',
- 'app': '<url of the app to benchmark>',
- 'shell-args': [],
- 'duration': <duration in seconds>,
-
- # List of measurements to make.
- 'measurements': [
- {
- 'name': my_measurement,
- 'spec': spec,
- },
- (...)
- ]
- }
-
-For each measurement, 'name' is a label used for presentation purposes. 'spec'
-defines the measurement.
-
-Available measurement types are:
-
-'time_until' - time until the first occurence of the targeted event. The spec
-takes the following format:
-
- 'time_until/category/event'
-
-'avg_duration' - average duration of the targeted event. The spec takes the
-following format:
-
- 'avg_duration/category/event'
-
-'percentile_duration' - value at the given percentile of the targeted event. The
-spec takes the following format:
-
- 'percentile_duration/category/event/percentile'
-
-|benchmark_list_file| may reference the |target_os| global that will be any of
-['android', 'linux'], indicating the system on which the benchmarks are to be
-run.
+dictionary. For description of the required format see
+https://github.com/domokit/devtools/blob/master/docs/mojo_benchmark.md .
"""
_logger = logging.getLogger()
« no previous file with comments | « mojo/devtools/common/docs/mojo_benchmark.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698