| 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. Maintaining these files by hand is | 7 the src/testing/buildbot directory. Maintaining these files by hand is |
| 8 too unwieldy. | 8 too unwieldy. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 waterfall = add_tester( | 205 waterfall = add_tester( |
| 206 waterfall, 'Android Nexus5X Perf', 'android-nexus5X', | 206 waterfall, 'Android Nexus5X Perf', 'android-nexus5X', |
| 207 'android', target_bits=32, num_device_shards=7, num_host_shards=3) | 207 'android', target_bits=32, num_device_shards=7, num_host_shards=3) |
| 208 waterfall = add_tester( | 208 waterfall = add_tester( |
| 209 waterfall, 'Android Nexus6 Perf', 'android-nexus6', | 209 waterfall, 'Android Nexus6 Perf', 'android-nexus6', |
| 210 'android', target_bits=32, num_device_shards=7, num_host_shards=3) | 210 'android', target_bits=32, num_device_shards=7, num_host_shards=3) |
| 211 waterfall = add_tester( | 211 waterfall = add_tester( |
| 212 waterfall, 'Android Nexus7v2 Perf', 'android-nexus7v2', | 212 waterfall, 'Android Nexus7v2 Perf', 'android-nexus7v2', |
| 213 'android', target_bits=32, num_device_shards=7, num_host_shards=3) | 213 'android', target_bits=32, num_device_shards=7, num_host_shards=3) |
| 214 waterfall = add_tester( | 214 waterfall = add_tester( |
| 215 waterfall, 'Android Nexus9 Perf', 'android-nexus9', | |
| 216 'android', num_device_shards=7, num_host_shards=3) | |
| 217 waterfall = add_tester( | |
| 218 waterfall, 'Android One Perf', 'android-one', | 215 waterfall, 'Android One Perf', 'android-one', |
| 219 'android', target_bits=32, num_device_shards=7, num_host_shards=3) | 216 'android', target_bits=32, num_device_shards=7, num_host_shards=3) |
| 220 | 217 |
| 221 waterfall = add_tester( | 218 waterfall = add_tester( |
| 222 waterfall, 'Win Zenbook Perf', 'win-zenbook', 'win', | 219 waterfall, 'Win Zenbook Perf', 'win-zenbook', 'win', |
| 223 swarming=[ | 220 swarming=[ |
| 224 { | 221 { |
| 225 'gpu': '8086:161e', | 222 'gpu': '8086:161e', |
| 226 'os': 'Windows-10-10240', | 223 'os': 'Windows-10-10240', |
| 227 'device_ids': [ | 224 'device_ids': [ |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 waterfall['name'] = 'chromium.perf' | 776 waterfall['name'] = 'chromium.perf' |
| 780 fyi_waterfall = get_fyi_waterfall_config() | 777 fyi_waterfall = get_fyi_waterfall_config() |
| 781 fyi_waterfall['name'] = 'chromium.perf.fyi' | 778 fyi_waterfall['name'] = 'chromium.perf.fyi' |
| 782 | 779 |
| 783 generate_all_tests(fyi_waterfall) | 780 generate_all_tests(fyi_waterfall) |
| 784 generate_all_tests(waterfall) | 781 generate_all_tests(waterfall) |
| 785 return 0 | 782 return 0 |
| 786 | 783 |
| 787 if __name__ == '__main__': | 784 if __name__ == '__main__': |
| 788 sys.exit(main()) | 785 sys.exit(main()) |
| OLD | NEW |