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

Side by Side Diff: tools/nanobench_flags.py

Issue 1189863002: nanobench: split CPU and GPU .SKP tile sizes. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: update flags Created 5 years, 6 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 | « tools/nanobench_flags.json ('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 # 1 #
2 # Copyright 2015 Google Inc. 2 # Copyright 2015 Google Inc.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 7
8 #!/usr/bin/env python 8 #!/usr/bin/env python
9 9
10 usage = ''' 10 usage = '''
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 config.extend(['msaa16', 'nvprmsaa16']) 45 config.extend(['msaa16', 'nvprmsaa16'])
46 args.append('--config') 46 args.append('--config')
47 args.extend(config) 47 args.extend(config)
48 48
49 if 'Valgrind' in bot: 49 if 'Valgrind' in bot:
50 # Don't care about Valgrind performance. 50 # Don't care about Valgrind performance.
51 args.extend(['--loops', '1']) 51 args.extend(['--loops', '1'])
52 args.extend(['--samples', '1']) 52 args.extend(['--samples', '1'])
53 53
54 if 'HD2000' in bot: 54 if 'HD2000' in bot:
55 args.extend(['--benchTileW', '256']) 55 args.extend(['--GPUbenchTileW', '256'])
56 args.extend(['--benchTileH', '256']) 56 args.extend(['--GPUbenchTileH', '256'])
57 57
58 match = [] 58 match = []
59 if 'Android' in bot: 59 if 'Android' in bot:
60 # Segfaults when run as GPU bench. Very large texture? 60 # Segfaults when run as GPU bench. Very large texture?
61 match.append('~blurroundrect') 61 match.append('~blurroundrect')
62 match.append('~patch_grid') # skia:2847 62 match.append('~patch_grid') # skia:2847
63 match.append('~desk_carsvg') 63 match.append('~desk_carsvg')
64 if 'HD2000' in bot: 64 if 'HD2000' in bot:
65 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 65 match.extend(['~gradient', '~etc1bitmap']) # skia:2895
66 if 'Nexus7' in bot: 66 if 'Nexus7' in bot:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 if len(sys.argv) == 2 and sys.argv[1] == 'test': 116 if len(sys.argv) == 2 and sys.argv[1] == 'test':
117 self_test() 117 self_test()
118 sys.exit(0) 118 sys.exit(0)
119 119
120 if len(sys.argv) != 3: 120 if len(sys.argv) != 3:
121 print usage 121 print usage
122 sys.exit(1) 122 sys.exit(1)
123 123
124 with open(sys.argv[1], 'w') as out: 124 with open(sys.argv[1], 'w') as out:
125 json.dump(get_args(sys.argv[2]), out) 125 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/nanobench_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698