| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 'chromium.perf': [ | 103 'chromium.perf': [ |
| 104 { | 104 { |
| 105 'name': 'Linux Perf', | 105 'name': 'Linux Perf', |
| 106 'shards': [3] | 106 'shards': [3] |
| 107 }, | 107 }, |
| 108 ] | 108 ] |
| 109 } | 109 } |
| 110 }, | 110 }, |
| 111 { | 111 { |
| 112 'args': [ | 112 'args': [ |
| 113 'tracing_perftests', | |
| 114 '--adb-path', | |
| 115 'src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb', | |
| 116 ], | |
| 117 'name': 'tracing_perftests', | |
| 118 'script': 'gtest_perf_test.py', | |
| 119 'testers': { | |
| 120 'chromium.perf': [ | |
| 121 { | |
| 122 'name': 'Android Nexus5 Perf', | |
| 123 'shards': [2] | |
| 124 }, | |
| 125 { | |
| 126 'name': 'Android Nexus6 Perf', | |
| 127 'shards': [2] | |
| 128 }, | |
| 129 { | |
| 130 'name': 'Android Nexus7v2 Perf', | |
| 131 'shards': [2] | |
| 132 }, | |
| 133 { | |
| 134 'name': 'Android Nexus9 Perf', | |
| 135 'shards': [2] | |
| 136 }, | |
| 137 ] | |
| 138 } | |
| 139 }, | |
| 140 { | |
| 141 'args': [ | |
| 142 'load_library_perf_tests', | 113 'load_library_perf_tests', |
| 143 '--test-launcher-print-test-stdio=always' | 114 '--test-launcher-print-test-stdio=always' |
| 144 ], | 115 ], |
| 145 'name': 'load_library_perf_tests', | 116 'name': 'load_library_perf_tests', |
| 146 'script': 'gtest_perf_test.py', | 117 'script': 'gtest_perf_test.py', |
| 147 'testers': { | 118 'testers': { |
| 148 'chromium.perf': [ | 119 'chromium.perf': [ |
| 149 { | 120 { |
| 150 'name': 'Linux Perf', | 121 'name': 'Linux Perf', |
| 151 'shards': [3] | 122 'shards': [3] |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 waterfall['name'] = 'chromium.perf' | 662 waterfall['name'] = 'chromium.perf' |
| 692 fyi_waterfall = get_fyi_waterfall_config() | 663 fyi_waterfall = get_fyi_waterfall_config() |
| 693 fyi_waterfall['name'] = 'chromium.perf.fyi' | 664 fyi_waterfall['name'] = 'chromium.perf.fyi' |
| 694 | 665 |
| 695 generate_all_tests(fyi_waterfall) | 666 generate_all_tests(fyi_waterfall) |
| 696 generate_all_tests(waterfall) | 667 generate_all_tests(waterfall) |
| 697 return 0 | 668 return 0 |
| 698 | 669 |
| 699 if __name__ == '__main__': | 670 if __name__ == '__main__': |
| 700 sys.exit(main()) | 671 sys.exit(main()) |
| OLD | NEW |