| 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 import argparse | 10 import argparse |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 { | 50 { |
| 51 'args': [ | 51 'args': [ |
| 52 'cc_perftests', | 52 'cc_perftests', |
| 53 '--adb-path', | 53 '--adb-path', |
| 54 'src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb', | 54 'src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb', |
| 55 ], | 55 ], |
| 56 'name': 'cc_perftests', | 56 'name': 'cc_perftests', |
| 57 'script': 'gtest_perf_test.py', | 57 'script': 'gtest_perf_test.py', |
| 58 'testers': { | 58 'testers': { |
| 59 'chromium.perf': [ | 59 'chromium.perf': [ |
| 60 { | 60 # crbug.com/698831 |
| 61 'name': 'Android Nexus5 Perf', | 61 # { |
| 62 'shards': [2] | 62 # 'name': 'Android Nexus5 Perf', |
| 63 }, | 63 # 'shards': [2] |
| 64 { | 64 # }, |
| 65 'name': 'Android Nexus6 Perf', | 65 # { |
| 66 'shards': [2] | 66 # 'name': 'Android Nexus6 Perf', |
| 67 }, | 67 # 'shards': [2] |
| 68 { | 68 # }, |
| 69 'name': 'Android Nexus7v2 Perf', | 69 # { |
| 70 'shards': [2] | 70 # 'name': 'Android Nexus7v2 Perf', |
| 71 }, | 71 # 'shards': [2] |
| 72 # }, |
| 72 { | 73 { |
| 73 'name': 'Android Nexus9 Perf', | 74 'name': 'Android Nexus9 Perf', |
| 74 'shards': [2] | 75 'shards': [2] |
| 75 }, | 76 }, |
| 76 ], | 77 ], |
| 77 } | 78 } |
| 78 }, | 79 }, |
| 79 { | 80 { |
| 80 'args': [ | 81 'args': [ |
| 81 'tracing_perftests', | 82 'tracing_perftests', |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 waterfall, 'Linux Perf', 'linux-release', 'linux', | 456 waterfall, 'Linux Perf', 'linux-release', 'linux', |
| 456 swarming=[ | 457 swarming=[ |
| 457 { | 458 { |
| 458 'gpu': '102b:0534', | 459 'gpu': '102b:0534', |
| 459 'os': 'Ubuntu-14.04', | 460 'os': 'Ubuntu-14.04', |
| 460 'device_ids': [ | 461 'device_ids': [ |
| 461 'build148-m1', 'build149-m1', | 462 'build148-m1', 'build149-m1', |
| 462 'build150-m1', 'build151-m1', 'build152-m1' | 463 'build150-m1', 'build151-m1', 'build152-m1' |
| 463 ], | 464 ], |
| 464 'perf_tests': [ | 465 'perf_tests': [ |
| 465 ('cc_perftests', 2), | 466 # crbug.com/698831 |
| 467 # ('cc_perftests', 2), |
| 466 ('load_library_perf_tests', 2), | 468 ('load_library_perf_tests', 2), |
| 467 ('tracing_perftests', 2), | 469 ('tracing_perftests', 2), |
| 468 ('media_perftests', 3)] | 470 ('media_perftests', 3)] |
| 469 } | 471 } |
| 470 ]) | 472 ]) |
| 471 | 473 |
| 472 return waterfall | 474 return waterfall |
| 473 | 475 |
| 474 | 476 |
| 475 def generate_isolate_script_entry(swarming_dimensions, test_args, | 477 def generate_isolate_script_entry(swarming_dimensions, test_args, |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 'without --validate-only flag to update the perf JSON ' | 838 'without --validate-only flag to update the perf JSON ' |
| 837 'configs.') % sys.argv[0] | 839 'configs.') % sys.argv[0] |
| 838 return 1 | 840 return 1 |
| 839 else: | 841 else: |
| 840 update_all_tests(fyi_waterfall) | 842 update_all_tests(fyi_waterfall) |
| 841 update_all_tests(waterfall) | 843 update_all_tests(waterfall) |
| 842 return 0 | 844 return 0 |
| 843 | 845 |
| 844 if __name__ == '__main__': | 846 if __name__ == '__main__': |
| 845 sys.exit(main(sys.argv[1:])) | 847 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |