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 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 102 'chromium.perf': [ | 102 'chromium.perf': [ |
| 103 { | 103 { |
| 104 'name': 'Linux Perf', | 104 'name': 'Linux Perf', |
| 105 'shards': [3] | 105 'shards': [3] |
| 106 }, | 106 }, |
| 107 ] | 107 ] |
| 108 } | 108 } |
| 109 }, | 109 }, |
| 110 { | 110 { |
| 111 'args': [ | 111 'args': [ |
| 112 'tracing_perftests', | |
| 113 '--test-launcher-print-test-stdio=always' | |
| 114 ], | |
| 115 'name': 'tracing_perftests', | |
| 116 'script': 'gtest_perf_test.py', | |
|
nednguyen
2016/10/18 16:00:35
Since this script is about perf, can you move it t
kraynov
2016/10/18 16:25:28
It's not my script. It's the same used for cc_perf
| |
| 117 'testers': [ | |
| 118 { | |
| 119 'name': 'Linux Perf', | |
| 120 'shards': [3] | |
| 121 }, | |
| 122 ] | |
| 123 }, | |
| 124 { | |
| 125 'args': [ | |
| 112 'load_library_perf_tests', | 126 'load_library_perf_tests', |
| 113 '--test-launcher-print-test-stdio=always' | 127 '--test-launcher-print-test-stdio=always' |
| 114 ], | 128 ], |
| 115 'name': 'load_library_perf_tests', | 129 'name': 'load_library_perf_tests', |
| 116 'script': 'gtest_perf_test.py', | 130 'script': 'gtest_perf_test.py', |
| 117 'testers': { | 131 'testers': { |
| 118 'chromium.perf': [ | 132 'chromium.perf': [ |
| 119 { | 133 { |
| 120 'name': 'Linux Perf', | 134 'name': 'Linux Perf', |
| 121 'shards': [3] | 135 'shards': [3] |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 481 waterfall['name'] = 'chromium.perf' | 495 waterfall['name'] = 'chromium.perf' |
| 482 fyi_waterfall = get_fyi_waterfall_config() | 496 fyi_waterfall = get_fyi_waterfall_config() |
| 483 fyi_waterfall['name'] = 'chromium.perf.fyi' | 497 fyi_waterfall['name'] = 'chromium.perf.fyi' |
| 484 | 498 |
| 485 generate_all_tests(fyi_waterfall) | 499 generate_all_tests(fyi_waterfall) |
| 486 generate_all_tests(waterfall) | 500 generate_all_tests(waterfall) |
| 487 return 0 | 501 return 0 |
| 488 | 502 |
| 489 if __name__ == "__main__": | 503 if __name__ == "__main__": |
| 490 sys.exit(main()) | 504 sys.exit(main()) |
| OLD | NEW |