| 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 'gpu': '8086:1626', | 357 'gpu': '8086:1626', |
| 358 'os': 'Mac-10.11', | 358 'os': 'Mac-10.11', |
| 359 'device_ids': [ | 359 'device_ids': [ |
| 360 'build123-b1', 'build124-b1', | 360 'build123-b1', 'build124-b1', |
| 361 'build125-b1', 'build126-b1', 'build127-b1' | 361 'build125-b1', 'build126-b1', 'build127-b1' |
| 362 ] | 362 ] |
| 363 } | 363 } |
| 364 ]) | 364 ]) |
| 365 | 365 |
| 366 waterfall = add_tester( | 366 waterfall = add_tester( |
| 367 waterfall, 'Linux Perf', 'linux-release', 'linux', num_host_shards=5) | 367 waterfall, 'Linux Perf', 'linux-release', 'linux', |
| 368 swarming=[ |
| 369 { |
| 370 'gpu': '102b:0534', |
| 371 'os': 'linux', |
| 372 'device_ids': [ |
| 373 'build148-m1', 'build149-m1', |
| 374 'build150-m1', 'build151-m1', 'build152-m1' |
| 375 ], |
| 376 'perf_tests': [ |
| 377 ('cc_perftests', 2), |
| 378 ('load_library_perf_tests', 2), |
| 379 ('tracing_perftests', 2)] |
| 380 } |
| 381 ]) |
| 368 | 382 |
| 369 return waterfall | 383 return waterfall |
| 370 | 384 |
| 371 | 385 |
| 372 def generate_isolate_script_entry(swarming_dimensions, test_args, | 386 def generate_isolate_script_entry(swarming_dimensions, test_args, |
| 373 isolate_name, step_name, override_compile_targets=None): | 387 isolate_name, step_name, override_compile_targets=None): |
| 374 result = { | 388 result = { |
| 375 'args': test_args, | 389 'args': test_args, |
| 376 'isolate_name': isolate_name, | 390 'isolate_name': isolate_name, |
| 377 'name': step_name, | 391 'name': step_name, |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 waterfall['name'] = 'chromium.perf' | 676 waterfall['name'] = 'chromium.perf' |
| 663 fyi_waterfall = get_fyi_waterfall_config() | 677 fyi_waterfall = get_fyi_waterfall_config() |
| 664 fyi_waterfall['name'] = 'chromium.perf.fyi' | 678 fyi_waterfall['name'] = 'chromium.perf.fyi' |
| 665 | 679 |
| 666 generate_all_tests(fyi_waterfall) | 680 generate_all_tests(fyi_waterfall) |
| 667 generate_all_tests(waterfall) | 681 generate_all_tests(waterfall) |
| 668 return 0 | 682 return 0 |
| 669 | 683 |
| 670 if __name__ == '__main__': | 684 if __name__ == '__main__': |
| 671 sys.exit(main()) | 685 sys.exit(main()) |
| OLD | NEW |