| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 the V8 project authors. All rights reserved. | 2 # Copyright 2014 the V8 project 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 import argparse | 6 import argparse |
| 7 import find_depot_tools | 7 import find_depot_tools |
| 8 import sys | 8 import sys |
| 9 | 9 |
| 10 find_depot_tools.add_depot_tools_to_path() | 10 find_depot_tools.add_depot_tools_to_path() |
| 11 | 11 |
| 12 from git_cl import Changelist | 12 from git_cl import Changelist |
| 13 | 13 |
| 14 BOTS = { | 14 BOTS = { |
| 15 '--arm32': 'v8_arm32_perf_try', |
| 15 '--linux32': 'v8_linux32_perf_try', | 16 '--linux32': 'v8_linux32_perf_try', |
| 16 '--linux64': 'v8_linux64_perf_try', | 17 '--linux64': 'v8_linux64_perf_try', |
| 17 '--linux64_haswell': 'v8_linux64_haswell_perf_try', | 18 '--linux64_haswell': 'v8_linux64_haswell_perf_try', |
| 18 } | 19 } |
| 19 | 20 |
| 20 DEFAULT_BOTS = [ | 21 DEFAULT_BOTS = [ |
| 21 'v8_linux32_perf_try', | 22 'v8_linux32_perf_try', |
| 22 'v8_linux64_haswell_perf_try', | 23 'v8_linux64_haswell_perf_try', |
| 23 ] | 24 ] |
| 24 | 25 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 55 masters = { | 56 masters = { |
| 56 'internal.client.v8': dict((b, options.benchmarks) for b in options.bots), | 57 'internal.client.v8': dict((b, options.benchmarks) for b in options.bots), |
| 57 } | 58 } |
| 58 cl.RpcServer().trigger_distributed_try_jobs( | 59 cl.RpcServer().trigger_distributed_try_jobs( |
| 59 cl.GetIssue(), cl.GetMostRecentPatchset(), cl.GetBranch(), | 60 cl.GetIssue(), cl.GetMostRecentPatchset(), cl.GetBranch(), |
| 60 False, None, masters) | 61 False, None, masters) |
| 61 return 0 | 62 return 0 |
| 62 | 63 |
| 63 if __name__ == "__main__": # pragma: no cover | 64 if __name__ == "__main__": # pragma: no cover |
| 64 sys.exit(main()) | 65 sys.exit(main()) |
| OLD | NEW |