summaryrefslogtreecommitdiffstats
path: root/build/util
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-03 20:10:57 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-03 20:10:57 +0000
commit37a682d9b3b5b77595f9dc61b5108a4a1af995b5 (patch)
treebcf0884a617a6766f71e7fcc580cd82d295c1fc0 /build/util
parent3111f6d91219d56d2e594fc6b3d012bab1056986 (diff)
downloadchromium_src-37a682d9b3b5b77595f9dc61b5108a4a1af995b5.zip
chromium_src-37a682d9b3b5b77595f9dc61b5108a4a1af995b5.tar.gz
chromium_src-37a682d9b3b5b77595f9dc61b5108a4a1af995b5.tar.bz2
Perf scripts: improves PrintPerfResult documentation.
No functional changes, just add a bit more info about the parameters. BUG= Review URL: https://codereview.chromium.org/25634008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/util')
-rw-r--r--build/util/lib/common/perf_tests_results_helper.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/util/lib/common/perf_tests_results_helper.py b/build/util/lib/common/perf_tests_results_helper.py
index cacf54e..cec4f69 100644
--- a/build/util/lib/common/perf_tests_results_helper.py
+++ b/build/util/lib/common/perf_tests_results_helper.py
@@ -92,10 +92,15 @@ def PrintPerfResult(measurement, trace, values, units,
The string args may be empty but they must not contain any colons (:) or
equals signs (=).
+ This is parsed by the buildbot using:
+ http://src.chromium.org/viewvc/chrome/trunk/tools/build/scripts/slave/process_log_utils.py
Args:
measurement: A description of the quantity being measured, e.g. "vm_peak".
+ On the dashboard, this maps to a particular graph. Mandatory.
trace: A description of the particular data point, e.g. "reference".
+ On the dashboard, this maps to a particular "line" in the graph.
+ Mandatory.
values: A list of numeric measured values. An N-dimensional list will be
flattened and treated as a simple list.
units: A description of the units of measure, e.g. "bytes".