diff options
author | simonhatch <simonhatch@chromium.org> | 2014-12-05 12:35:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-05 20:36:20 +0000 |
commit | 1a76ca43d08c509d2c42d54fc757601be41efcd8 (patch) | |
tree | 1f636e9e0289904e6b9ed74fede10775d75c93cd /tools | |
parent | 0ebc0a391d9aca92e45bd3c674bd2c140e4fac0e (diff) | |
download | chromium_src-1a76ca43d08c509d2c42d54fc757601be41efcd8.zip chromium_src-1a76ca43d08c509d2c42d54fc757601be41efcd8.tar.gz chromium_src-1a76ca43d08c509d2c42d54fc757601be41efcd8.tar.bz2 |
[telemetry] - Change default benchmark list to use chartjson output.
Waterfall is running on chartjson now, but we've got hacks in the recipes to swap the command lines from buildbot->chartjson.
ie. instead of:
{
"steps": {
"blink_perf.animation": {
"cmd": "/path/to/run_benchmark -v --output-format=buildbot the_test",
"device_affinity": -1,
"perf_dashboard_id": "foo"
},
}
->
{
"steps": {
"blink_perf.animation": {
"cmd": "/path/to/run_benchmark -v --output-format=chartjson --upload-results the_test",
"device_affinity": -1,
"perf_dashboard_id": "foo"
},
}
BUG=422173, 422174
Review URL: https://codereview.chromium.org/779223004
Cr-Commit-Position: refs/heads/master@{#307072}
Diffstat (limited to 'tools')
-rw-r--r-- | tools/telemetry/telemetry/benchmark_runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/telemetry/telemetry/benchmark_runner.py b/tools/telemetry/telemetry/benchmark_runner.py index 27b3c27..0c0a924 100644 --- a/tools/telemetry/telemetry/benchmark_runner.py +++ b/tools/telemetry/telemetry/benchmark_runner.py @@ -245,7 +245,8 @@ def _GetJsonBenchmarkList(possible_browser, possible_reference_browser, base_name = benchmark_class.Name() base_cmd = [sys.executable, os.path.realpath(sys.argv[0]), - '-v', '--output-format=buildbot', base_name] + '-v', '--output-format=chartjson', '--upload-results', + base_name] perf_dashboard_id = base_name # TODO(tonyg): Currently we set the device affinity to a stable hash of the # benchmark name. This somewhat evenly distributes benchmarks among the |