Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: tools/perf/generate_perf_json.py

Issue 2540743004: Src side buildbot json for triggering jobs on remaining win bots (Closed)
Patch Set: Correcting gpu and os Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'name': 'Android Nexus7v2 Perf', 69 'name': 'Android Nexus7v2 Perf',
70 'shards': [2] 70 'shards': [2]
71 }, 71 },
72 { 72 {
73 'name': 'Android Nexus9 Perf', 73 'name': 'Android Nexus9 Perf',
74 'shards': [2] 74 'shards': [2]
75 }, 75 },
76 ], 76 ],
77 } 77 }
78 }, 78 },
79 {
80 'args': [
81 'load_library_perf_tests',
82 '--test-launcher-print-test-stdio=always'
83 ],
84 'name': 'load_library_perf_tests',
85 'script': 'gtest_perf_test.py',
86 'testers': {
87 'chromium.perf': [
88 {
89 'name': 'Win 8 Perf',
90 'shards': [2]
91 },
92 ]
93 }
94 },
95 {
96 'args': [
97 'performance_browser_tests',
98 '--test-launcher-print-test-stdio=always',
99 '--gtest_filter=TabCapturePerformanceTest.*:CastV2PerformanceTest.*',
100 '--test-launcher-jobs=1',
101 '--enable-gpu'
102 ],
103 'name': 'performance_browser_tests',
104 'script': 'gtest_perf_test.py',
105 'testers': {
106 'chromium.perf': [
107 {
108 'name': 'Win 8 Perf',
109 'shards': [2]
110 },
111 ]
112 }
113 },
114 ] 79 ]
115 80
116 81
117 def add_tester(waterfall, name, perf_id, platform, target_bits=64, 82 def add_tester(waterfall, name, perf_id, platform, target_bits=64,
118 num_host_shards=1, num_device_shards=1, swarming=None, 83 num_host_shards=1, num_device_shards=1, swarming=None,
119 use_whitelist=False): 84 use_whitelist=False):
120 del perf_id # this will be needed 85 del perf_id # this will be needed
121 waterfall['testers'][name] = { 86 waterfall['testers'][name] = {
122 'platform': platform, 87 'platform': platform,
123 'num_device_shards': num_device_shards, 88 'num_device_shards': num_device_shards,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 waterfall, 'Android Nexus7v2 Perf', 'android-nexus7v2', 156 waterfall, 'Android Nexus7v2 Perf', 'android-nexus7v2',
192 'android', target_bits=32, num_device_shards=7, num_host_shards=3) 157 'android', target_bits=32, num_device_shards=7, num_host_shards=3)
193 waterfall = add_tester( 158 waterfall = add_tester(
194 waterfall, 'Android Nexus9 Perf', 'android-nexus9', 159 waterfall, 'Android Nexus9 Perf', 'android-nexus9',
195 'android', num_device_shards=7, num_host_shards=3) 160 'android', num_device_shards=7, num_host_shards=3)
196 waterfall = add_tester( 161 waterfall = add_tester(
197 waterfall, 'Android One Perf', 'android-one', 162 waterfall, 'Android One Perf', 'android-one',
198 'android', target_bits=32, num_device_shards=7, num_host_shards=3) 163 'android', target_bits=32, num_device_shards=7, num_host_shards=3)
199 164
200 waterfall = add_tester( 165 waterfall = add_tester(
201 waterfall, 'Win Zenbook Perf', 'win-zenbook', 'win', num_host_shards=5) 166 waterfall, 'Win Zenbook Perf', 'win-zenbook', 'win',
167 swarming=[
168 {
169 'gpu': '8086:161e',
170 'os': 'Windows-10-10240',
171 'device_ids': [
172 'build30-b1', 'build31-b1',
173 'build32-b1', 'build33-b1', 'build34-b1'
174 ]
175 }
176 ])
202 waterfall = add_tester( 177 waterfall = add_tester(
203 waterfall, 'Win 10 Perf', 'chromium-rel-win10', 'win', num_host_shards=5) 178 waterfall, 'Win 10 High-DPI Perf', 'win-high-dpi', 'win',
179 swarming=[
180 {
181 'gpu': '8086:1616',
182 'os': 'Windows-10-10240',
183 'device_ids': [
184 'build117-b1', 'build118-b1',
185 'build119-b1', 'build120-b1', 'build121-b1'
186 ]
187 }
188 ])
204 waterfall = add_tester( 189 waterfall = add_tester(
205 waterfall, 'Win 8 Perf', 'chromium-rel-win8-dual', 'win', num_host_shards=5) 190 waterfall, 'Win 10 Perf', 'chromium-rel-win10', 'win',
191 swarming=[
192 {
193 'gpu': '102b:0534',
194 'os': 'Windows-10-10240',
195 'device_ids': [
196 'build132-m1', 'build133-m1',
197 'build134-m1', 'build135-m1', 'build136-m1'
198 ]
199 }
200 ])
201 waterfall = add_tester(
202 waterfall, 'Win 8 Perf', 'chromium-rel-win8-dual', 'win',
203 swarming=[
204 {
205 'gpu': '102b:0532',
206 'os': 'Windows-2012ServerR2-SP0',
207 'device_ids': [
208 'build143-m1', 'build144-m1',
209 'build145-m1', 'build146-m1', 'build147-m1'
210 ],
211 'perf_tests': [
212 ('load_library_perf_tests', 2),
213 ('performance_browser_tests', 2)]
214 }
215 ])
206 waterfall = add_tester( 216 waterfall = add_tester(
207 waterfall, 'Win 7 Perf', 'chromium-rel-win7-dual', 217 waterfall, 'Win 7 Perf', 'chromium-rel-win7-dual',
208 'win', target_bits=32, 218 'win', target_bits=32,
209 swarming=[ 219 swarming=[
210 { 220 {
211 'gpu': '102b:0532', 221 'gpu': '102b:0532',
212 'os': 'Windows-2008ServerR2-SP1', 222 'os': 'Windows-2008ServerR2-SP1',
213 'device_ids': [ 223 'device_ids': [
214 'build185-m1', 'build186-m1', 224 'build185-m1', 'build186-m1',
215 'build187-m1', 'build188-m1', 'build189-m1' 225 'build187-m1', 'build188-m1', 'build189-m1'
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 waterfall['name'] = 'chromium.perf' 683 waterfall['name'] = 'chromium.perf'
674 fyi_waterfall = get_fyi_waterfall_config() 684 fyi_waterfall = get_fyi_waterfall_config()
675 fyi_waterfall['name'] = 'chromium.perf.fyi' 685 fyi_waterfall['name'] = 'chromium.perf.fyi'
676 686
677 generate_all_tests(fyi_waterfall) 687 generate_all_tests(fyi_waterfall)
678 generate_all_tests(waterfall) 688 generate_all_tests(waterfall)
679 return 0 689 return 0
680 690
681 if __name__ == '__main__': 691 if __name__ == '__main__':
682 sys.exit(main()) 692 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698