| 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 waterfall = add_tester( | 476 waterfall = add_tester( |
| 477 waterfall, 'Mac 10.12 Perf', 'chromium-rel-mac12', | 477 waterfall, 'Mac 10.12 Perf', 'chromium-rel-mac12', |
| 478 'mac', | 478 'mac', |
| 479 swarming=[ | 479 swarming=[ |
| 480 { | 480 { |
| 481 'os': 'Mac-10.12', | 481 'os': 'Mac-10.12', |
| 482 'gpu': '8086:0a2e', | 482 'gpu': '8086:0a2e', |
| 483 'pool': 'Chrome-perf', | 483 'pool': 'Chrome-perf', |
| 484 'device_ids': [ | 484 'device_ids': [ |
| 485 'build158-m1', 'build159-m1', 'build160-m1', | 485 'build158-m1', 'build159-m1', 'build160-m1', |
| 486 'build161-m1', 'build162-m1'] | 486 'build161-m1', 'build162-m1'], |
| 487 'perf_tests': [ |
| 488 ('net_perftests', 'build159-m1'), |
| 489 ] |
| 487 } | 490 } |
| 488 ]) | 491 ]) |
| 489 waterfall = add_tester( | 492 waterfall = add_tester( |
| 490 waterfall, 'Mac Retina Perf', | 493 waterfall, 'Mac Retina Perf', |
| 491 'chromium-rel-mac-retina', 'mac', | 494 'chromium-rel-mac-retina', 'mac', |
| 492 swarming=[ | 495 swarming=[ |
| 493 { | 496 { |
| 494 'gpu': '8086:0d26', | 497 'gpu': '8086:0d26', |
| 495 'os': 'Mac-10.11', | 498 'os': 'Mac-10.11', |
| 496 'pool': 'Chrome-perf', | 499 'pool': 'Chrome-perf', |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 'loading.mobile': 16200, # 4.5 hours | 750 'loading.mobile': 16200, # 4.5 hours |
| 748 'system_health.memory_mobile': 10800, # 3 hours | 751 'system_health.memory_mobile': 10800, # 3 hours |
| 749 'system_health.memory_desktop': 10800, # 3 hours | 752 'system_health.memory_desktop': 10800, # 3 hours |
| 750 } | 753 } |
| 751 | 754 |
| 752 | 755 |
| 753 # Devices which are broken right now. Tests will not be scheduled on them. | 756 # Devices which are broken right now. Tests will not be scheduled on them. |
| 754 # Please add a comment with a bug for replacing the device. | 757 # Please add a comment with a bug for replacing the device. |
| 755 BLACKLISTED_DEVICES = [ | 758 BLACKLISTED_DEVICES = [ |
| 756 'build152-m1', # crbug.com/736593 | 759 'build152-m1', # crbug.com/736593 |
| 760 # All Linux perf bots (crbug.com/732463) |
| 761 'build148-m1', 'build149-m1', 'build150-m1', 'build151-m1', 'build152-m1', |
| 757 ] | 762 ] |
| 758 | 763 |
| 759 | 764 |
| 760 # List of benchmarks that are to never be run with reference builds. | 765 # List of benchmarks that are to never be run with reference builds. |
| 761 BENCHMARK_REF_BUILD_BLACKLIST = [ | 766 BENCHMARK_REF_BUILD_BLACKLIST = [ |
| 762 'power.idle_platform', | 767 'power.idle_platform', |
| 763 ] | 768 ] |
| 764 | 769 |
| 765 | 770 |
| 766 | 771 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 return 0 | 1051 return 0 |
| 1047 else: | 1052 else: |
| 1048 print ('The perf JSON config files are not up-to-date. Please run %s ' | 1053 print ('The perf JSON config files are not up-to-date. Please run %s ' |
| 1049 'without --validate-only flag to update the perf JSON ' | 1054 'without --validate-only flag to update the perf JSON ' |
| 1050 'configs and benchmark.csv.') % sys.argv[0] | 1055 'configs and benchmark.csv.') % sys.argv[0] |
| 1051 return 1 | 1056 return 1 |
| 1052 else: | 1057 else: |
| 1053 update_all_tests([fyi_waterfall, waterfall]) | 1058 update_all_tests([fyi_waterfall, waterfall]) |
| 1054 update_benchmark_csv() | 1059 update_benchmark_csv() |
| 1055 return 0 | 1060 return 0 |
| OLD | NEW |