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

Side by Side Diff: tools/nanobench_flags.py

Issue 1290223005: Try enabling all nanobenches on Nexus7 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 args.extend(['--GPUbenchTileH', '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:
67 match = ['skp'] # skia:2774
68 if 'NexusPlayer' in bot: 66 if 'NexusPlayer' in bot:
69 match.append('~desk_unicodetable') 67 match.append('~desk_unicodetable')
70 68
71 if 'iOS' in bot: 69 if 'iOS' in bot:
72 match.append('~blurroundrect') 70 match.append('~blurroundrect')
73 match.append('~patch_grid') # skia:2847 71 match.append('~patch_grid') # skia:2847
74 match.append('~desk_carsvg') 72 match.append('~desk_carsvg')
75 match.append('~keymobi') 73 match.append('~keymobi')
76 match.append('~path_hairline') 74 match.append('~path_hairline')
77 75
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 if len(sys.argv) == 2 and sys.argv[1] == 'test': 114 if len(sys.argv) == 2 and sys.argv[1] == 'test':
117 self_test() 115 self_test()
118 sys.exit(0) 116 sys.exit(0)
119 117
120 if len(sys.argv) != 3: 118 if len(sys.argv) != 3:
121 print usage 119 print usage
122 sys.exit(1) 120 sys.exit(1)
123 121
124 with open(sys.argv[1], 'w') as out: 122 with open(sys.argv[1], 'w') as out:
125 json.dump(get_args(sys.argv[2]), out) 123 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