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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 { | 412 { |
413 'gpu': '102b:0534', | 413 'gpu': '102b:0534', |
414 'os': 'Ubuntu-14.04', | 414 'os': 'Ubuntu-14.04', |
415 'device_ids': [ | 415 'device_ids': [ |
416 'build148-m1', 'build149-m1', | 416 'build148-m1', 'build149-m1', |
417 'build150-m1', 'build151-m1', 'build152-m1' | 417 'build150-m1', 'build151-m1', 'build152-m1' |
418 ], | 418 ], |
419 'perf_tests': [ | 419 'perf_tests': [ |
420 ('cc_perftests', 2), | 420 ('cc_perftests', 2), |
421 ('load_library_perf_tests', 2), | 421 ('load_library_perf_tests', 2), |
422 ('tracing_perftests', 2)] | 422 ('tracing_perftests', 2), |
| 423 ('media_perftests', 3)] |
423 } | 424 } |
424 ]) | 425 ]) |
425 | 426 |
426 return waterfall | 427 return waterfall |
427 | 428 |
428 | 429 |
429 def generate_isolate_script_entry(swarming_dimensions, test_args, | 430 def generate_isolate_script_entry(swarming_dimensions, test_args, |
430 isolate_name, step_name, override_compile_targets=None): | 431 isolate_name, step_name, override_compile_targets=None): |
431 result = { | 432 result = { |
432 'args': test_args, | 433 'args': test_args, |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 waterfall['name'] = 'chromium.perf' | 740 waterfall['name'] = 'chromium.perf' |
740 fyi_waterfall = get_fyi_waterfall_config() | 741 fyi_waterfall = get_fyi_waterfall_config() |
741 fyi_waterfall['name'] = 'chromium.perf.fyi' | 742 fyi_waterfall['name'] = 'chromium.perf.fyi' |
742 | 743 |
743 generate_all_tests(fyi_waterfall) | 744 generate_all_tests(fyi_waterfall) |
744 generate_all_tests(waterfall) | 745 generate_all_tests(waterfall) |
745 return 0 | 746 return 0 |
746 | 747 |
747 if __name__ == '__main__': | 748 if __name__ == '__main__': |
748 sys.exit(main()) | 749 sys.exit(main()) |
OLD | NEW |