Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # pylint: disable=too-many-lines | 6 # pylint: disable=too-many-lines |
| 7 | 7 |
| 8 """Script to generate chromium.perf.json and chromium.perf.fyi.json in | 8 """Script to generate chromium.perf.json and chromium.perf.fyi.json in |
| 9 the src/testing/buildbot directory and benchmark.csv in the src/tools/perf | 9 the src/testing/buildbot directory and benchmark.csv in the src/tools/perf |
| 10 directory. Maintaining these files by hand is too unwieldy. | 10 directory. Maintaining these files by hand is too unwieldy. |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 252 'device_ids': [ | 252 'device_ids': [ |
| 253 'build73-b1--device1', 'build73-b1--device2', 'build73-b1--device3', | 253 'build73-b1--device1', 'build73-b1--device2', 'build73-b1--device3', |
| 254 'build73-b1--device4', 'build73-b1--device5', 'build73-b1--device6', | 254 'build73-b1--device4', 'build73-b1--device5', 'build73-b1--device6', |
| 255 'build73-b1--device7', | 255 'build73-b1--device7', |
| 256 'build74-b1--device1', 'build74-b1--device2', 'build74-b1--device3', | 256 'build74-b1--device1', 'build74-b1--device2', 'build74-b1--device3', |
| 257 'build74-b1--device4', 'build74-b1--device5', 'build74-b1--device6', | 257 'build74-b1--device4', 'build74-b1--device5', 'build74-b1--device6', |
| 258 'build74-b1--device7', | 258 'build74-b1--device7', |
| 259 'build75-b1--device1', 'build75-b1--device2', 'build75-b1--device3', | 259 'build75-b1--device1', 'build75-b1--device2', 'build75-b1--device3', |
| 260 'build75-b1--device4', 'build75-b1--device5', 'build75-b1--device6', | 260 'build75-b1--device4', 'build75-b1--device5', 'build75-b1--device6', |
| 261 'build75-b1--device7', | 261 'build75-b1--device7', |
| 262 ] | 262 ], |
| 263 'perf_tests': [ | |
| 264 ('tracing_perftests', 'build73-b1--device2'), | |
|
nednguyen
2017/05/08 23:56:32
The 'build73-b1--device2' bot is picked because it
| |
| 265 ('gpu_perftests', 'build73-b1--device2'), | |
| 266 ('cc_perftests', 'build73-b1--device2'), | |
| 267 ] | |
| 263 } | 268 } |
| 264 ]) | 269 ]) |
| 265 | 270 |
| 266 waterfall = add_tester( | 271 waterfall = add_tester( |
| 267 waterfall, 'Win Zenbook Perf', 'win-zenbook', 'win', | 272 waterfall, 'Win Zenbook Perf', 'win-zenbook', 'win', |
| 268 swarming=[ | 273 swarming=[ |
| 269 { | 274 { |
| 270 'gpu': '8086:161e', | 275 'gpu': '8086:161e', |
| 271 'os': 'Windows-10-10240', | 276 'os': 'Windows-10-10240', |
| 272 'pool': 'Chrome-perf', | 277 'pool': 'Chrome-perf', |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 993 return 0 | 998 return 0 |
| 994 else: | 999 else: |
| 995 print ('The perf JSON config files are not up-to-date. Please run %s ' | 1000 print ('The perf JSON config files are not up-to-date. Please run %s ' |
| 996 'without --validate-only flag to update the perf JSON ' | 1001 'without --validate-only flag to update the perf JSON ' |
| 997 'configs and benchmark.csv.') % sys.argv[0] | 1002 'configs and benchmark.csv.') % sys.argv[0] |
| 998 return 1 | 1003 return 1 |
| 999 else: | 1004 else: |
| 1000 update_all_tests([fyi_waterfall, waterfall]) | 1005 update_all_tests([fyi_waterfall, waterfall]) |
| 1001 update_benchmark_csv() | 1006 update_benchmark_csv() |
| 1002 return 0 | 1007 return 0 |
| OLD | NEW |