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

Side by Side Diff: infra/bots/recipes/swarm_perf.py

Issue 2381033002: Explicit control in tools of ANGLE frontend and backend (Closed)
Patch Set: rebase infra training Created 4 years, 2 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 | infra/bots/recipes/swarm_perf.expected/Perf-Android-Clang-Nexus5-GPU-Adreno330-arm-Debug-GN_Android.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # Recipe module for Skia Swarming perf. 6 # Recipe module for Skia Swarming perf.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'build/file', 10 'build/file',
(...skipping 20 matching lines...) Expand all
31 'Perf-Android-Clang-Nexus7-GPU-Tegra3-arm-Release-GN_Android', 31 'Perf-Android-Clang-Nexus7-GPU-Tegra3-arm-Release-GN_Android',
32 'Perf-Android-Clang-NexusPlayer-GPU-PowerVR-x86-Release-GN_Android', 32 'Perf-Android-Clang-NexusPlayer-GPU-PowerVR-x86-Release-GN_Android',
33 'Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN', 33 'Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN',
34 'Perf-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', 34 'Perf-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer',
35 'Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN', 35 'Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN',
36 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 36 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
37 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-VisualBench', 37 'Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-VisualBench',
38 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', 38 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug',
39 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Release', 39 'Perf-Win-MSVC-GCE-CPU-AVX2-x86_64-Release',
40 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', 40 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot',
41 'Perf-Win8-MSVC-ShuttleB-GPU-GTX960-x86_64-Debug-ANGLE',
41 'Perf-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', 42 'Perf-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
42 ], 43 ],
43 }, 44 },
44 } 45 }
45 46
46 47
47 import calendar 48 import calendar
48 49
49 50
50 def nanobench_flags(bot): 51 def nanobench_flags(bot):
51 args = ['--pre_log'] 52 args = ['--pre_log']
52 53
53 if 'GPU' in bot: 54 if 'GPU' in bot:
54 args.append('--images') 55 args.append('--images')
55 args.extend(['--gpuStatsDump', 'true']) 56 args.extend(['--gpuStatsDump', 'true'])
56 57
57 if 'Android' in bot and 'GPU' in bot: 58 if 'Android' in bot and 'GPU' in bot:
58 args.extend(['--useThermalManager', '1,1,10,1000']) 59 args.extend(['--useThermalManager', '1,1,10,1000'])
59 60
60 args.extend(['--scales', '1.0', '1.1']) 61 args.extend(['--scales', '1.0', '1.1'])
61 62
62 if 'iOS' in bot: 63 if 'iOS' in bot:
63 args.extend(['--skps', 'ignore_skps']) 64 args.extend(['--skps', 'ignore_skps'])
64 65
65 config = ['8888', 'gpu', 'nonrendering', 'angle', 'hwui' ] 66 config = ['8888', 'gpu', 'nonrendering', 'hwui' ]
66 if 'AndroidOne' not in bot: 67 if 'AndroidOne' not in bot:
67 config += [ 'f16', 'srgb' ] 68 config += [ 'f16', 'srgb' ]
68 if '-GCE-' in bot: 69 if '-GCE-' in bot:
69 config += [ '565' ] 70 config += [ '565' ]
70 # The S4 crashes and the NP produces a long error stream when we run with 71 # The S4 crashes and the NP produces a long error stream when we run with
71 # MSAA. 72 # MSAA.
72 if ('GalaxyS4' not in bot and 73 if ('GalaxyS4' not in bot and
73 'NexusPlayer' not in bot): 74 'NexusPlayer' not in bot):
74 if 'Android' in bot: 75 if 'Android' in bot:
75 # The TegraX1 has a regular OpenGL implementation. We bench that instead 76 # The TegraX1 has a regular OpenGL implementation. We bench that instead
(...skipping 12 matching lines...) Expand all
88 elif 'TegraX1' in bot: 89 elif 'TegraX1' in bot:
89 config.extend(['glinst', 'glinst4']) 90 config.extend(['glinst', 'glinst4'])
90 elif 'MacMini6.2' in bot: 91 elif 'MacMini6.2' in bot:
91 config.extend(['glinst', 'glinst16']) 92 config.extend(['glinst', 'glinst16'])
92 93
93 if 'CommandBuffer' in bot: 94 if 'CommandBuffer' in bot:
94 config = ['commandbuffer'] 95 config = ['commandbuffer']
95 if 'Vulkan' in bot: 96 if 'Vulkan' in bot:
96 config = ['vk'] 97 config = ['vk']
97 98
99 if 'ANGLE' in bot:
100 config.extend(['angle_gl_es2', 'angle_d3d11_es2'])
101
98 args.append('--config') 102 args.append('--config')
99 args.extend(config) 103 args.extend(config)
100 104
101 if 'Valgrind' in bot: 105 if 'Valgrind' in bot:
102 # Don't care about Valgrind performance. 106 # Don't care about Valgrind performance.
103 args.extend(['--loops', '1']) 107 args.extend(['--loops', '1'])
104 args.extend(['--samples', '1']) 108 args.extend(['--samples', '1'])
105 # Ensure that the bot framework does not think we have timed out. 109 # Ensure that the bot framework does not think we have timed out.
106 args.extend(['--keepAlive', 'true']) 110 args.extend(['--keepAlive', 'true'])
107 111
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 buildername='Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-' + 327 buildername='Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-' +
324 'Valgrind-Trybot', 328 'Valgrind-Trybot',
325 mastername='client.skia', 329 mastername='client.skia',
326 slavename='skiabot-linux-swarm-000', 330 slavename='skiabot-linux-swarm-000',
327 buildnumber=5, 331 buildnumber=5,
328 path_config='kitchen', 332 path_config='kitchen',
329 swarm_out_dir='[SWARM_OUT_DIR]', 333 swarm_out_dir='[SWARM_OUT_DIR]',
330 revision='abc123', 334 revision='abc123',
331 **gerrit_kwargs) 335 **gerrit_kwargs)
332 ) 336 )
OLDNEW
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_perf.expected/Perf-Android-Clang-Nexus5-GPU-Adreno330-arm-Debug-GN_Android.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698