| 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 """Script to generate chromium.perf.json and chromium.perf.fyi.json in | 6 """Script to generate chromium.perf.json and chromium.perf.fyi.json in |
| 7 the src/testing/buildbot directory and benchmark.csv in the src/tools/perf | 7 the src/testing/buildbot directory and benchmark.csv in the src/tools/perf |
| 8 directory. Maintaining these files by hand is too unwieldy. | 8 directory. Maintaining these files by hand is too unwieldy. |
| 9 """ | 9 """ |
| 10 import argparse | 10 import argparse |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 250 } |
| 251 ]) | 251 ]) |
| 252 waterfall = add_tester( | 252 waterfall = add_tester( |
| 253 waterfall, 'Win 10 High-DPI Perf', 'win-high-dpi', 'win', | 253 waterfall, 'Win 10 High-DPI Perf', 'win-high-dpi', 'win', |
| 254 swarming=[ | 254 swarming=[ |
| 255 { | 255 { |
| 256 'gpu': '8086:1616', | 256 'gpu': '8086:1616', |
| 257 'os': 'Windows-10-10240', | 257 'os': 'Windows-10-10240', |
| 258 'device_ids': [ | 258 'device_ids': [ |
| 259 'build117-b1', 'build118-b1', | 259 'build117-b1', 'build118-b1', |
| 260 'build119-b1', 'build120-b1', 'build121-b1' | 260 'build119-b1', 'build120-b1', |
| 261 'build180-b4' # Added in https://crbug.com/695613 |
| 261 ] | 262 ] |
| 262 } | 263 } |
| 263 ]) | 264 ]) |
| 264 waterfall = add_tester( | 265 waterfall = add_tester( |
| 265 waterfall, 'Win 10 Perf', 'chromium-rel-win10', 'win', | 266 waterfall, 'Win 10 Perf', 'chromium-rel-win10', 'win', |
| 266 swarming=[ | 267 swarming=[ |
| 267 { | 268 { |
| 268 'gpu': '102b:0534', | 269 'gpu': '102b:0534', |
| 269 'os': 'Windows-10-10240', | 270 'os': 'Windows-10-10240', |
| 270 'device_ids': [ | 271 'device_ids': [ |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 return 0 | 958 return 0 |
| 958 else: | 959 else: |
| 959 print ('The perf JSON config files are not up-to-date. Please run %s ' | 960 print ('The perf JSON config files are not up-to-date. Please run %s ' |
| 960 'without --validate-only flag to update the perf JSON ' | 961 'without --validate-only flag to update the perf JSON ' |
| 961 'configs and benchmark.csv.') % sys.argv[0] | 962 'configs and benchmark.csv.') % sys.argv[0] |
| 962 return 1 | 963 return 1 |
| 963 else: | 964 else: |
| 964 update_all_tests([fyi_waterfall, waterfall]) | 965 update_all_tests([fyi_waterfall, waterfall]) |
| 965 update_benchmark_csv() | 966 update_benchmark_csv() |
| 966 return 0 | 967 return 0 |
| OLD | NEW |