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

Side by Side Diff: scripts/master/factory/chromium_commands.py

Issue 112633009: Run media_perftests in a single process. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 6 years, 11 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 | « masters/master.chromium.perf/master.cfg ('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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Set of utilities to add commands to a buildbot factory. 5 """Set of utilities to add commands to a buildbot factory.
6 6
7 This is based on commands.py and adds chromium-specific commands.""" 7 This is based on commands.py and adds chromium-specific commands."""
8 8
9 import logging 9 import logging
10 import os 10 import os
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 453
454 def AddCCPerfTests(self, factory_properties=None): 454 def AddCCPerfTests(self, factory_properties=None):
455 self.AddAnnotatedPerfStep('cc_perftests', None, 'graphing', 455 self.AddAnnotatedPerfStep('cc_perftests', None, 'graphing',
456 cmd_name='cc_perftests', 456 cmd_name='cc_perftests',
457 step_name='cc_perftests', 457 step_name='cc_perftests',
458 factory_properties=factory_properties) 458 factory_properties=factory_properties)
459 459
460 def AddMediaPerfTests(self, factory_properties=None): 460 def AddMediaPerfTests(self, factory_properties=None):
461 self.AddAnnotatedPerfStep('media_perftests', None, 'graphing', 461 self.AddAnnotatedPerfStep('media_perftests', None, 'graphing',
462 cmd_name='media_perftests', 462 cmd_name='media_perftests',
463 cmd_options=['--single-process-tests'],
463 step_name='media_perftests', 464 step_name='media_perftests',
464 factory_properties=factory_properties) 465 factory_properties=factory_properties)
465 466
466 def AddMemoryTests(self, factory_properties=None): 467 def AddMemoryTests(self, factory_properties=None):
467 self.AddAnnotatedPerfStep('memory', 'GeneralMix*MemoryTest.*', 'graphing', 468 self.AddAnnotatedPerfStep('memory', 'GeneralMix*MemoryTest.*', 'graphing',
468 factory_properties=factory_properties) 469 factory_properties=factory_properties)
469 470
470 def AddSyncPerfTests(self, factory_properties=None): 471 def AddSyncPerfTests(self, factory_properties=None):
471 options = ['--ui-test-action-max-timeout=120000'] 472 options = ['--ui-test-action-max-timeout=120000']
472 473
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1583 return '%s/%s/%s' % (config.Master.archive_url, archive_type, builder_name) 1584 return '%s/%s/%s' % (config.Master.archive_url, archive_type, builder_name)
1584 1585
1585 1586
1586 def _GetSnapshotUrl(factory_properties=None, builder_name='%(build_name)s'): 1587 def _GetSnapshotUrl(factory_properties=None, builder_name='%(build_name)s'):
1587 if not factory_properties or 'gs_bucket' not in factory_properties: 1588 if not factory_properties or 'gs_bucket' not in factory_properties:
1588 return (_GetArchiveUrl('snapshots', builder_name), None) 1589 return (_GetArchiveUrl('snapshots', builder_name), None)
1589 gs_bucket = factory_properties['gs_bucket'] 1590 gs_bucket = factory_properties['gs_bucket']
1590 gs_bucket = re.sub(r'^gs://', 'http://commondatastorage.googleapis.com/', 1591 gs_bucket = re.sub(r'^gs://', 'http://commondatastorage.googleapis.com/',
1591 gs_bucket) 1592 gs_bucket)
1592 return ('%s/index.html?path=%s' % (gs_bucket, builder_name), '/') 1593 return ('%s/index.html?path=%s' % (gs_bucket, builder_name), '/')
OLDNEW
« no previous file with comments | « masters/master.chromium.perf/master.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698