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

Side by Side Diff: generate_perf.py

Issue 17574004: Add WebRTC perf IDs and tests. (Closed) Base URL: https://src.chromium.org/svn/trunk/tools/perf/
Patch Set: Created 7 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 | « 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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 # Initializes all the perf directories. 6 # Initializes all the perf directories.
7 7
8 8
9 import optparse 9 import optparse
10 import os 10 import os
(...skipping 12 matching lines...) Expand all
23 'chromium-rel-mac6-clang': 'Chromium Mac 10.6 (clang)', 23 'chromium-rel-mac6-clang': 'Chromium Mac 10.6 (clang)',
24 'chromium-rel-mac7-fyi': 'Chromium Mac 10.7 FYI', 24 'chromium-rel-mac7-fyi': 'Chromium Mac 10.7 FYI',
25 'chromium-rel-mac7-gpu-intel': 'Chromium Mac 10.7 GPU (Intel)', 25 'chromium-rel-mac7-gpu-intel': 'Chromium Mac 10.7 GPU (Intel)',
26 'chromium-rel-win7-dual': 'Chromium Win7', 26 'chromium-rel-win7-dual': 'Chromium Win7',
27 'chromium-rel-win7-dual-fyi': 'Chromium Win7 FYI', 27 'chromium-rel-win7-dual-fyi': 'Chromium Win7 FYI',
28 'chromium-rel-win7-gpu-ati': 'Chromium Win7 GPU (ATI)', 28 'chromium-rel-win7-gpu-ati': 'Chromium Win7 GPU (ATI)',
29 'chromium-rel-win7-gpu-intel': 'Chromium Win7 GPU (Intel)', 29 'chromium-rel-win7-gpu-intel': 'Chromium Win7 GPU (Intel)',
30 'chromium-rel-win7-gpu-nvidia': 'Chromium Win7 GPU (NVIDIA)', 30 'chromium-rel-win7-gpu-nvidia': 'Chromium Win7 GPU (NVIDIA)',
31 'chromium-rel-win7-single': 'Chromium Win7 (single)', 31 'chromium-rel-win7-single': 'Chromium Win7 (single)',
32 'chromium-rel-win7-webkit': 'Chromium Win7 (webkit)', 32 'chromium-rel-win7-webkit': 'Chromium Win7 (webkit)',
33 'chromium-webrtc-rel-7': 'Chromium Win7 (WebRTC)',
34 'chromium-webrtc-rel-linux': 'Chromium Linux (WebRTC)',
35 'chromium-webrtc-rel-mac': 'Chromium Mac (WebRTC)',
36 'chromium-webrtc-rel-xp': 'Chromium WinXP (WebRTC)',
37 'chromium-webrtc-stable-tot-rel-linux': 'Chromium Linux (WebRTC stable)',
38 'chromium-webrtc-trunk-tot-rel-linux': 'Chromium Linux (WebRTC trunk)',
39 'chromium-webrtc-stable-tot-rel-mac': 'Chromium Mac (WebRTC stable)',
40 'chromium-webrtc-trunk-tot-rel-mac': 'Chromium Mac (WebRTC trunk)',
41 'chromium-webrtc-stable-tot-rel-win': 'Chromium Win (WebRTC stable)',
42 'chromium-webrtc-trunk-tot-rel-win': 'Chromium Win (WebRTC trunk)',
33 'gpu-fyi-linux-release-ati': 'GPU FYI Linux Release (ATI)', 43 'gpu-fyi-linux-release-ati': 'GPU FYI Linux Release (ATI)',
34 'gpu-fyi-linux-release-intel': 'GPU FYI Linux Release (Intel)', 44 'gpu-fyi-linux-release-intel': 'GPU FYI Linux Release (Intel)',
35 'gpu-fyi-mac-release-ati': 'GPU FYI Mac Release (ATI)', 45 'gpu-fyi-mac-release-ati': 'GPU FYI Mac Release (ATI)',
36 'gpu-fyi-win7-release-ati': 'GPU FYI Win7 Release (ATI)', 46 'gpu-fyi-win7-release-ati': 'GPU FYI Win7 Release (ATI)',
37 'gpu-fyi-win7-release-intel': 'GPU FYI Win7 Release (Intel)', 47 'gpu-fyi-win7-release-intel': 'GPU FYI Win7 Release (Intel)',
38 'gpu-fyi-winxp-debug-nvidia': 'GPU FYI WinXP Debug (NVIDIA)', 48 'gpu-fyi-winxp-debug-nvidia': 'GPU FYI WinXP Debug (NVIDIA)',
39 'gpu-fyi-winxp-release-nvidia': 'GPU FYI WinXP Release (NVIDIA)', 49 'gpu-fyi-winxp-release-nvidia': 'GPU FYI WinXP Release (NVIDIA)',
40 'gpu-linux-release-nvidia': 'GPU Linux Release (NVIDIA)', 50 'gpu-linux-release-nvidia': 'GPU Linux Release (NVIDIA)',
41 'gpu-mac-release-intel': 'GPU Mac Release (Intel)', 51 'gpu-mac-release-intel': 'GPU Mac Release (Intel)',
42 'gpu-webkit-linux-nvidia': 'Webkit GPU Linux (NVIDIA)', 52 'gpu-webkit-linux-nvidia': 'Webkit GPU Linux (NVIDIA)',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 'win-release': 'Chrome Win', 105 'win-release': 'Chrome Win',
96 'win-release-chrome-frame': 'Chrome Frame Win', 106 'win-release-chrome-frame': 'Chrome Frame Win',
97 'win-targets': 'Windows Target Builds', 107 'win-targets': 'Windows Target Builds',
98 'xp-debug': 'XP Perf (debug)', 108 'xp-debug': 'XP Perf (debug)',
99 'xp-release': 'Chromium XP', 109 'xp-release': 'Chromium XP',
100 'xp-release-dual-core': 'XP Perf', 110 'xp-release-dual-core': 'XP Perf',
101 'xp-release-memory': 'Chromium XP Memory', 111 'xp-release-memory': 'Chromium XP Memory',
102 'xp-release-single-core': 'XP Perf (single)', 112 'xp-release-single-core': 'XP Perf (single)',
103 'xp-release-v8-latest': 'XP Perf (v8-latest)', 113 'xp-release-v8-latest': 'XP Perf (v8-latest)',
104 'xp-release-webkit-latest': 'XP Perf (webkit-latest)', 114 'xp-release-webkit-latest': 'XP Perf (webkit-latest)',
115 'webrtc-linux-large-tests': 'WebRTC Large Tests Linux',
116 'webrtc-mac-large-tests': 'WebRTC Large Tests Mac',
117 'webrtc-win-large-tests': 'WebRTC Large Tests Win7',
105 } 118 }
106 119
107 # This is public code and should not contain internal names. 120 # This is public code and should not contain internal names.
108 ChromeSystemTitles = { 121 ChromeSystemTitles = {
109 'chrome-vista-dual-core': 'Vista Dual Core', 122 'chrome-vista-dual-core': 'Vista Dual Core',
110 'chrome-vista-quad-core': 'Vista Quad Core', 123 'chrome-vista-quad-core': 'Vista Quad Core',
111 } 124 }
112 125
113 # These are long-running endure tests that have differently-shaped graphs. 126 # These are long-running endure tests that have differently-shaped graphs.
114 EndureSystemTitles = { 127 EndureSystemTitles = {
115 'endure-linux-dbg': 'Endure Linux Debug', 128 'endure-linux-dbg': 'Endure Linux Debug',
116 'endure-linux-rel': 'Endure Linux Release', 129 'endure-linux-rel': 'Endure Linux Release',
117 } 130 }
118 131
119 TestTitles = { 132 TestTitles = {
133 'audio_e2e_test': 'WebRTC Audio E2E',
134 'audioproc_perf': 'WebRTC Audio Processing Perf',
120 'avperf': 'Audio Video Perf', 135 'avperf': 'Audio Video Perf',
121 'av_perf': 'Audio Video Perf 2', 136 'av_perf': 'Audio Video Perf 2',
122 'bloat-http': 'Bloat - HTTP', 137 'bloat-http': 'Bloat - HTTP',
123 'cc_perftests': 'Chrome Compositor Perf', 138 'cc_perftests': 'Chrome Compositor Perf',
124 'chrome_frame_perf': 'Chrome Frame Perf', 139 'chrome_frame_perf': 'Chrome Frame Perf',
125 'control-testControlAttachDetachDOMTree': 140 'control-testControlAttachDetachDOMTree':
126 'Control Test: ControlAttachDetachDOMTree', 141 'Control Test: ControlAttachDetachDOMTree',
127 'control-testControlAttachDetachDOMTreeWebDriver': 142 'control-testControlAttachDetachDOMTreeWebDriver':
128 'Control Test: ControlAttachDetachDOMTreeWebDriver', 143 'Control Test: ControlAttachDetachDOMTreeWebDriver',
129 'coverage': 'Code Coverage', 144 'coverage': 'Code Coverage',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 'gpu_frame_rate': 'GPU Frame Rate', 183 'gpu_frame_rate': 'GPU Frame Rate',
169 'gpu_latency': 'GPU Latency', 184 'gpu_latency': 'GPU Latency',
170 'gpu_throughput': 'GPU Throughput', 185 'gpu_throughput': 'GPU Throughput',
171 'idb_perf': 'Other IndexedDB', 186 'idb_perf': 'Other IndexedDB',
172 'image_decoding_benchmark': 'Image Decoding Benchmark', 187 'image_decoding_benchmark': 'Image Decoding Benchmark',
173 'indexeddb': 'Page Cycler IndexedDB', 188 'indexeddb': 'Page Cycler IndexedDB',
174 'indexeddb-testOfflineOnline': 189 'indexeddb-testOfflineOnline':
175 'IndexedDB Test: OfflineOnline', 190 'IndexedDB Test: OfflineOnline',
176 'intl1': 'Page Cycler Intl1', 191 'intl1': 'Page Cycler Intl1',
177 'intl2': 'Page Cycler Intl2', 192 'intl2': 'Page Cycler Intl2',
193 'isac_fixed_perf': 'WebRTC iSAC Fixed-point Perf',
178 'jsgamebench': 'JSGameBench', 194 'jsgamebench': 'JSGameBench',
179 'kraken': 'Kraken', 195 'kraken': 'Kraken',
180 'mach_ports': 'Mach Port Usage', 196 'mach_ports': 'Mach Port Usage',
181 'memory': 'Memory', 197 'memory': 'Memory',
182 'memory_benchmark': 'Memory Benchmark', 198 'memory_benchmark': 'Memory Benchmark',
183 'media_perf': 'Media Perf', 199 'media_perf': 'Media Perf',
184 'media_tests_av_perf': 'Media Tests AV Perf', 200 'media_tests_av_perf': 'Media Tests AV Perf',
185 'morejs': 'Page Cycler Morejs', 201 'morejs': 'Page Cycler Morejs',
186 'moz': 'Page Cycler Moz', 202 'moz': 'Page Cycler Moz',
187 'moz-http': 'Page Cycler Moz - HTTP', 203 'moz-http': 'Page Cycler Moz - HTTP',
(...skipping 13 matching lines...) Expand all
201 'scrolling_benchmark': 'Scrolling Benchmark', 217 'scrolling_benchmark': 'Scrolling Benchmark',
202 'sizes': 'Sizes', 218 'sizes': 'Sizes',
203 'spaceport': 'Spaceport', 219 'spaceport': 'Spaceport',
204 'spec2k': 'Spec2K', 220 'spec2k': 'Spec2K',
205 'startup': 'Startup', 221 'startup': 'Startup',
206 'sunspider': 'SunSpider', 222 'sunspider': 'SunSpider',
207 'sync': 'Sync', 223 'sync': 'Sync',
208 'tab-switching': 'Tab Switching', 224 'tab-switching': 'Tab Switching',
209 'targets': 'Target Build Times', 225 'targets': 'Target Build Times',
210 'v8_benchmark': 'V8 Benchmark', 226 'v8_benchmark': 'V8 Benchmark',
227 'vie_auto_test': 'WebRTC Video Engine Auto Test',
228 'webrtc_pyauto': 'WebRTC PyAuto',
229 'webrtc_pyauto_quality': 'WebRTC Video Quality PyAuto',
211 } 230 }
212 231
213 BASE_URL = 'http://build.chromium.org/f/chromium' 232 BASE_URL = 'http://build.chromium.org/f/chromium'
214 233
215 # Template contents of a config.js file. One of these gets created in 234 # Template contents of a config.js file. One of these gets created in
216 # each subdirectory for a given perf test, identified with the system 235 # each subdirectory for a given perf test, identified with the system
217 # that it's part of and an appropriate title. 236 # that it's part of and an appropriate title.
218 CONFIG_TEMPLATE = """\ 237 CONFIG_TEMPLATE = """\
219 var Config = { 238 var Config = {
220 buildslave: '%(system_title)s', 239 buildslave: '%(system_title)s',
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 continue 425 continue
407 test_title = TestTitles[test_dir] 426 test_title = TestTitles[test_dir]
408 perf_dir = os.path.join(system_dir, test_dir) 427 perf_dir = os.path.join(system_dir, test_dir)
409 os.chmod(perf_dir, 0755) 428 os.chmod(perf_dir, 0755)
410 TestInit(perf_dir, system_title, test_title, symlink_list, options.endure) 429 TestInit(perf_dir, system_title, test_title, symlink_list, options.endure)
411 return 0 430 return 0
412 431
413 432
414 if __name__ == '__main__': 433 if __name__ == '__main__':
415 sys.exit(main()) 434 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