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

Side by Side Diff: content/test/ct/run_ct_skps.py

Issue 1520453003: [CT+Nanobench] Add gpu to nanobench config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial upload Created 5 years 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 (c) 2015 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2015 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 """This script is meant to be run on a Swarming bot.""" 6 """This script is meant to be run on a Swarming bot."""
7 7
8 import argparse 8 import argparse
9 import os 9 import os
10 import subprocess 10 import subprocess
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 '--verbose', 48 '--verbose',
49 ]) 49 ])
50 elif args.tool == 'nanobench': 50 elif args.tool == 'nanobench':
51 # Add Nanobench specific arguments. 51 # Add Nanobench specific arguments.
52 out_results_file = os.path.join( 52 out_results_file = os.path.join(
53 args.isolated_outdir, 'nanobench_%s_slave%d.json' % (args.git_hash, 53 args.isolated_outdir, 'nanobench_%s_slave%d.json' % (args.git_hash,
54 args.slave_num)) 54 args.slave_num))
55 cmd.extend([ 55 cmd.extend([
56 '--skps', skps_dir, 56 '--skps', skps_dir,
57 '--resourcePath', resource_path, 57 '--resourcePath', resource_path,
58 '--config', '8888', 58 '--config', '8888', 'gpu',
borenet 2015/12/10 19:00:36 You should consider putting this in the Skia repo'
rmistry 2015/12/10 19:02:15 I'll make a note to look into that.
borenet 2015/12/10 19:03:34 Maybe after the skia recipe module can be reused w
59 '--outResultsFile', out_results_file, 59 '--outResultsFile', out_results_file,
60 '--properties', 'gitHash', args.git_hash, 60 '--properties', 'gitHash', args.git_hash,
61 '--key', 'arch', 'x86_64', 'compiler', 'GCC', 'cpu_or_gpu', 'CPU', 61 '--key', 'arch', 'x86_64', 'compiler', 'GCC', 'cpu_or_gpu', 'CPU',
62 'cpu_or_gpu_value', 'AVX2', 'model', 'SWARM', 'os', 'Ubuntu', 62 'cpu_or_gpu_value', 'AVX2', 'model', 'SWARM', 'os', 'Ubuntu',
63 '--verbose', 63 '--verbose',
64 ]) 64 ])
65 65
66 return subprocess.call(cmd) 66 return subprocess.call(cmd)
67 67
68 68
69 if __name__ == '__main__': 69 if __name__ == '__main__':
70 sys.exit(main()) 70 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