Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: tools/try_perf.py

Issue 1217503008: [test] Add android perf trybots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 '--arm32': 'v8_arm32_perf_try',
16 '--linux32': 'v8_linux32_perf_try', 16 '--linux32': 'v8_linux32_perf_try',
17 '--linux64': 'v8_linux64_perf_try', 17 '--linux64': 'v8_linux64_perf_try',
18 '--linux64_haswell': 'v8_linux64_haswell_perf_try', 18 '--linux64_haswell': 'v8_linux64_haswell_perf_try',
19 '--nexus5': 'v8_nexus5_perf_try',
20 '--nexus7': 'v8_nexus7_perf_try',
21 '--nexus9': 'v8_nexus9_perf_try',
22 '--nexus10': 'v8_nexus10_perf_try',
19 } 23 }
20 24
21 DEFAULT_BOTS = [ 25 DEFAULT_BOTS = [
22 'v8_linux32_perf_try', 26 'v8_linux32_perf_try',
23 'v8_linux64_haswell_perf_try', 27 'v8_linux64_haswell_perf_try',
24 ] 28 ]
25 29
26 def main(): 30 def main():
27 parser = argparse.ArgumentParser(description='') 31 parser = argparse.ArgumentParser(description='')
28 parser.add_argument("benchmarks", nargs="+", help="The benchmarks to run.") 32 parser.add_argument("benchmarks", nargs="+", help="The benchmarks to run.")
(...skipping 27 matching lines...) Expand all
56 masters = { 60 masters = {
57 'internal.client.v8': dict((b, options.benchmarks) for b in options.bots), 61 'internal.client.v8': dict((b, options.benchmarks) for b in options.bots),
58 } 62 }
59 cl.RpcServer().trigger_distributed_try_jobs( 63 cl.RpcServer().trigger_distributed_try_jobs(
60 cl.GetIssue(), cl.GetMostRecentPatchset(), cl.GetBranch(), 64 cl.GetIssue(), cl.GetMostRecentPatchset(), cl.GetBranch(),
61 False, None, masters) 65 False, None, masters)
62 return 0 66 return 0
63 67
64 if __name__ == "__main__": # pragma: no cover 68 if __name__ == "__main__": # pragma: no cover
65 sys.exit(main()) 69 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698