Chromium Code Reviews| 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 import argparse | 10 import argparse |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 458 { | 458 { |
| 459 'gpu': '102b:0534', | 459 'gpu': '102b:0534', |
| 460 'os': 'Ubuntu-14.04', | 460 'os': 'Ubuntu-14.04', |
| 461 'device_ids': [ | 461 'device_ids': [ |
| 462 'build148-m1', 'build149-m1', | 462 'build148-m1', 'build149-m1', |
| 463 'build150-m1', 'build151-m1', 'build152-m1' | 463 'build150-m1', 'build151-m1', 'build152-m1' |
| 464 ], | 464 ], |
| 465 'perf_tests': [ | 465 'perf_tests': [ |
| 466 # crbug.com/698831 | 466 # crbug.com/698831 |
| 467 # ('cc_perftests', 2), | 467 # ('cc_perftests', 2), |
| 468 ('net_perftests', 2), | |
|
nednguyen
2017/03/14 17:33:29
You need to rebase, I think
xunjieli
2017/03/14 17:38:12
Done.
| |
| 468 ('load_library_perf_tests', 2), | 469 ('load_library_perf_tests', 2), |
| 469 ('tracing_perftests', 2), | 470 ('tracing_perftests', 2), |
| 470 ('media_perftests', 3)] | 471 ('media_perftests', 3)] |
| 471 } | 472 } |
| 472 ]) | 473 ]) |
| 473 | 474 |
| 474 return waterfall | 475 return waterfall |
| 475 | 476 |
| 476 | 477 |
| 477 def generate_isolate_script_entry(swarming_dimensions, test_args, | 478 def generate_isolate_script_entry(swarming_dimensions, test_args, |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 838 'without --validate-only flag to update the perf JSON ' | 839 'without --validate-only flag to update the perf JSON ' |
| 839 'configs.') % sys.argv[0] | 840 'configs.') % sys.argv[0] |
| 840 return 1 | 841 return 1 |
| 841 else: | 842 else: |
| 842 update_all_tests(fyi_waterfall) | 843 update_all_tests(fyi_waterfall) |
| 843 update_all_tests(waterfall) | 844 update_all_tests(waterfall) |
| 844 return 0 | 845 return 0 |
| 845 | 846 |
| 846 if __name__ == '__main__': | 847 if __name__ == '__main__': |
| 847 sys.exit(main(sys.argv[1:])) | 848 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |