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

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

Issue 2540213002: Buildbot json updates to trigger swarming jobs on remaining mac bots. (Closed)
Patch Set: merge 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 '--test-launcher-print-test-stdio=always', 98 '--test-launcher-print-test-stdio=always',
99 '--gtest_filter=TabCapturePerformanceTest.*:CastV2PerformanceTest.*', 99 '--gtest_filter=TabCapturePerformanceTest.*:CastV2PerformanceTest.*',
100 '--test-launcher-jobs=1', 100 '--test-launcher-jobs=1',
101 '--enable-gpu' 101 '--enable-gpu'
102 ], 102 ],
103 'name': 'performance_browser_tests', 103 'name': 'performance_browser_tests',
104 'script': 'gtest_perf_test.py', 104 'script': 'gtest_perf_test.py',
105 'testers': { 105 'testers': {
106 'chromium.perf': [ 106 'chromium.perf': [
107 { 107 {
108 'name': 'Mac 10.8 Perf',
109 'shards': [3]
110 },
111 {
112 'name': 'Mac 10.9 Perf',
113 'shards': [3]
114 },
115 {
116 'name': 'Win 8 Perf', 108 'name': 'Win 8 Perf',
117 'shards': [2] 109 'shards': [2]
118 }, 110 },
119 ] 111 ]
120 } 112 }
121 }, 113 },
122 ] 114 ]
123 115
124 116
125 def add_tester(waterfall, name, perf_id, platform, target_bits=64, 117 def add_tester(waterfall, name, perf_id, platform, target_bits=64,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ], 278 ],
287 'perf_tests': [ 279 'perf_tests': [
288 ('angle_perftests', 2), 280 ('angle_perftests', 2),
289 ('load_library_perf_tests', 2), 281 ('load_library_perf_tests', 2),
290 ('performance_browser_tests', 2)] 282 ('performance_browser_tests', 2)]
291 } 283 }
292 ]) 284 ])
293 285
294 waterfall = add_tester( 286 waterfall = add_tester(
295 waterfall, 'Mac 10.11 Perf', 'chromium-rel-mac11', 287 waterfall, 'Mac 10.11 Perf', 'chromium-rel-mac11',
296 'mac', num_host_shards=5) 288 'mac',
289 swarming=[
290 {
291 'gpu': '8086:0166',
292 'os': 'Mac-10.11',
293 'device_ids': [
294 'build102-b1', 'build103-b1',
295 'build104-b1', 'build105-b1', 'build106-b1'
296 ]
297 }
298 ])
297 waterfall = add_tester( 299 waterfall = add_tester(
298 waterfall, 'Mac 10.10 Perf', 'chromium-rel-mac10', 300 waterfall, 'Mac 10.10 Perf', 'chromium-rel-mac10',
299 'mac', 301 'mac',
300 swarming=[ 302 swarming=[
301 { 303 {
302 'os': 'Mac-10.10', 304 'os': 'Mac-10.10',
303 'gpu': '8086:0a2e', 305 'gpu': '8086:0a2e',
304 'device_ids': [ 306 'device_ids': [
305 'build158-m1', 'build159-m1', 'build160-m1', 307 'build158-m1', 'build159-m1', 'build160-m1',
306 'build161-m1', 'build162-m1'] 308 'build161-m1', 'build162-m1']
307 } 309 }
308 ]) 310 ])
309 waterfall = add_tester( 311 waterfall = add_tester(
310 waterfall, 'Mac Retina Perf', 312 waterfall, 'Mac Retina Perf',
311 'chromium-rel-mac-retina', 'mac', num_host_shards=5) 313 'chromium-rel-mac-retina', 'mac',
314 swarming=[
315 {
316 'gpu': '8086:0d26',
317 'os': 'Mac-10.11',
318 'device_ids': [
319 'build4-b1', 'build5-b1', 'build6-b1', 'build7-b1', 'build8-b1'
320 ]
321 }
322 ])
312 waterfall = add_tester( 323 waterfall = add_tester(
313 waterfall, 'Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', num_host_shards=5) 324 waterfall, 'Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac',
325 swarming=[
326 {
327 'gpu': '10de:08a4',
328 'os': 'Mac-10.10',
329 'device_ids': [
330 'build24-b1', 'build25-b1',
331 'build26-b1', 'build27-b1', 'build28-b1'
332 ]
333 }
334 ])
314 waterfall = add_tester( 335 waterfall = add_tester(
315 waterfall, 'Mac Pro 10.11 Perf', 336 waterfall, 'Mac Pro 10.11 Perf',
316 'chromium-rel-mac11-pro', 'mac', 337 'chromium-rel-mac11-pro', 'mac',
317 swarming=[ 338 swarming=[
318 { 339 {
319 'gpu': '1002:6821', 340 'gpu': '1002:6821',
320 'os': 'Mac-10.11', 341 'os': 'Mac-10.11',
321 'device_ids': [ 342 'device_ids': [
322 'build128-b1', 'build129-b1', 343 'build128-b1', 'build129-b1',
323 'build130-b1', 'build131-b1', 'build132-b1' 344 'build130-b1', 'build131-b1', 'build132-b1'
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 waterfall['name'] = 'chromium.perf' 673 waterfall['name'] = 'chromium.perf'
653 fyi_waterfall = get_fyi_waterfall_config() 674 fyi_waterfall = get_fyi_waterfall_config()
654 fyi_waterfall['name'] = 'chromium.perf.fyi' 675 fyi_waterfall['name'] = 'chromium.perf.fyi'
655 676
656 generate_all_tests(fyi_waterfall) 677 generate_all_tests(fyi_waterfall)
657 generate_all_tests(waterfall) 678 generate_all_tests(waterfall)
658 return 0 679 return 0
659 680
660 if __name__ == '__main__': 681 if __name__ == '__main__':
661 sys.exit(main()) 682 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