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

Side by Side Diff: generate_perf.py

Issue 17838003: Update new WebRTC perf tests. (Closed) Base URL: https://src.chromium.org/svn/trunk/tools/perf/
Patch Set: Created 7 years, 5 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 'new-tab-ui-cold': 'New Tab Cold', 205 'new-tab-ui-cold': 'New Tab Cold',
206 'new-tab-ui-warm': 'New Tab Warm', 206 'new-tab-ui-warm': 'New Tab Warm',
207 'octane': 'Octane', 207 'octane': 'Octane',
208 'page_cycler_2012Q2-netsim': 'Page Cycler 2012Q2 Netsim', 208 'page_cycler_2012Q2-netsim': 'Page Cycler 2012Q2 Netsim',
209 'plus-testPlusAlternatelyClickStreams': 209 'plus-testPlusAlternatelyClickStreams':
210 'Plus Test: PlusAlternatelyClickStreams', 210 'Plus Test: PlusAlternatelyClickStreams',
211 'plus_wpr-testPlusAlternatelyClickStreams': 211 'plus_wpr-testPlusAlternatelyClickStreams':
212 'Plus WPR Test: PlusAlternatelyClickStreams', 212 'Plus WPR Test: PlusAlternatelyClickStreams',
213 'pnacl-tools': 'PNaCl Toolchain', 213 'pnacl-tools': 'PNaCl Toolchain',
214 'pyauto_perf': 'Pyauto Perf', 214 'pyauto_perf': 'Pyauto Perf',
215 'pyauto_webrtc_tests': 'WebRTC PyAuto',
216 'pyauto_webrtc_quality_tests': 'WebRTC Quality PyAuto',
215 'resource_sizes': 'Resource Sizes', 217 'resource_sizes': 'Resource Sizes',
216 'robohornetpro': 'RoboHornet Pro', 218 'robohornetpro': 'RoboHornet Pro',
217 'scrolling_benchmark': 'Scrolling Benchmark', 219 'scrolling_benchmark': 'Scrolling Benchmark',
218 'sizes': 'Sizes', 220 'sizes': 'Sizes',
219 'spaceport': 'Spaceport', 221 'spaceport': 'Spaceport',
220 'spec2k': 'Spec2K', 222 'spec2k': 'Spec2K',
221 'startup': 'Startup', 223 'startup': 'Startup',
222 'sunspider': 'SunSpider', 224 'sunspider': 'SunSpider',
223 'sync': 'Sync', 225 'sync': 'Sync',
224 'tab-switching': 'Tab Switching', 226 'tab-switching': 'Tab Switching',
225 'targets': 'Target Build Times', 227 'targets': 'Target Build Times',
226 'v8_benchmark': 'V8 Benchmark', 228 'v8_benchmark': 'V8 Benchmark',
227 'vie_auto_test': 'WebRTC Video Engine Auto Test', 229 'vie_auto_test': 'WebRTC Video Engine Auto Test',
228 'webrtc_pyauto': 'WebRTC PyAuto', 230 'webrtc_perf_content_unittests': 'WebRTC content_unittests',
229 'webrtc_pyauto_quality': 'WebRTC Video Quality PyAuto',
230 } 231 }
231 232
232 BASE_URL = 'http://build.chromium.org/f/chromium' 233 BASE_URL = 'http://build.chromium.org/f/chromium'
233 234
234 # Template contents of a config.js file. One of these gets created in 235 # Template contents of a config.js file. One of these gets created in
235 # each subdirectory for a given perf test, identified with the system 236 # each subdirectory for a given perf test, identified with the system
236 # that it's part of and an appropriate title. 237 # that it's part of and an appropriate title.
237 CONFIG_TEMPLATE = """\ 238 CONFIG_TEMPLATE = """\
238 var Config = { 239 var Config = {
239 buildslave: '%(system_title)s', 240 buildslave: '%(system_title)s',
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 continue 426 continue
426 test_title = TestTitles[test_dir] 427 test_title = TestTitles[test_dir]
427 perf_dir = os.path.join(system_dir, test_dir) 428 perf_dir = os.path.join(system_dir, test_dir)
428 os.chmod(perf_dir, 0755) 429 os.chmod(perf_dir, 0755)
429 TestInit(perf_dir, system_title, test_title, symlink_list, options.endure) 430 TestInit(perf_dir, system_title, test_title, symlink_list, options.endure)
430 return 0 431 return 0
431 432
432 433
433 if __name__ == '__main__': 434 if __name__ == '__main__':
434 sys.exit(main()) 435 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