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

Side by Side Diff: infra/bots/perf_skia.py

Issue 1754843002: Swarming bots: Add support for perf steps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 9 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
« infra/bots/perf_skia.isolate ('K') | « infra/bots/perf_skia.isolate ('k') | 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 # 2 #
3 # Copyright 2016 Google Inc. 3 # Copyright 2016 Google Inc.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 8
9 import argparse 9 import argparse
10 import common 10 import common
11 import os 11 import os
12 import sys 12 import sys
13 13
14 14
15 def main(): 15 def main():
16 parser = argparse.ArgumentParser() 16 parser = argparse.ArgumentParser()
17 parser.add_argument('--master_name', required=True) 17 parser.add_argument('--master_name', required=True)
18 parser.add_argument('--builder_name', required=True) 18 parser.add_argument('--builder_name', required=True)
19 parser.add_argument('--build_number', required=True) 19 parser.add_argument('--build_number', required=True)
20 parser.add_argument('--slave_name', required=True) 20 parser.add_argument('--slave_name', required=True)
21 parser.add_argument('--revision', required=True) 21 parser.add_argument('--revision', required=True)
22 parser.add_argument('--swarm_out_dir', required=True) 22 parser.add_argument('--swarm_out_dir', required=True)
23 args = parser.parse_args() 23 args = parser.parse_args()
24 bot = common.BotInfo(args.builder_name, os.path.abspath(args.swarm_out_dir)) 24 bot = common.BotInfo(args.builder_name, os.path.abspath(args.swarm_out_dir))
25 bot.test_steps(args.revision, args.master_name, args.slave_name, 25 bot.perf_steps(args.revision, args.master_name, args.slave_name,
26 args.build_number) 26 args.build_number)
27 27
28 28
29 if __name__ == '__main__': 29 if __name__ == '__main__':
30 main() 30 main()
OLDNEW
« infra/bots/perf_skia.isolate ('K') | « infra/bots/perf_skia.isolate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698