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

Side by Side Diff: tools/perf/benchmarks/startup.py

Issue 1090453002: Disable large profile tests for reference builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 from telemetry import benchmark 5 from telemetry import benchmark
6 6
7 from measurements import startup 7 from measurements import startup
8 import page_sets 8 import page_sets
9 9
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 """Measures warm startup time with a clean profile.""" 53 """Measures warm startup time with a clean profile."""
54 tag = 'warm' 54 tag = 'warm'
55 page_set = page_sets.BlankPageSet 55 page_set = page_sets.BlankPageSet
56 56
57 @classmethod 57 @classmethod
58 def Name(cls): 58 def Name(cls):
59 return 'startup.warm.blank_page' 59 return 'startup.warm.blank_page'
60 60
61 @benchmark.Enabled('has tabs') 61 @benchmark.Enabled('has tabs')
62 @benchmark.Enabled('win', 'linux', 'mac') 62 @benchmark.Enabled('win', 'linux', 'mac')
63 @benchmark.Disabled('reference')
63 class StartupLargeProfileColdBlankPage(_StartupCold): 64 class StartupLargeProfileColdBlankPage(_StartupCold):
64 """Measures cold startup time with a large profile.""" 65 """Measures cold startup time with a large profile."""
65 tag = 'cold' 66 tag = 'cold'
66 page_set = page_sets.BlankPageSet 67 page_set = page_sets.BlankPageSet
67 options = {'pageset_repeat': 1} 68 options = {'pageset_repeat': 1}
68 69
69 def __init__(self, max_failures=None): 70 def __init__(self, max_failures=None):
70 super(StartupLargeProfileColdBlankPage, self).__init__(max_failures) 71 super(StartupLargeProfileColdBlankPage, self).__init__(max_failures)
71 self.generated_profile_archive = "large_profile.zip" 72 self.generated_profile_archive = "large_profile.zip"
72 73
73 def CustomizeBrowserOptions(self, options): 74 def CustomizeBrowserOptions(self, options):
74 options.browser_startup_timeout = 10 * 60 75 options.browser_startup_timeout = 10 * 60
75 76
76 @classmethod 77 @classmethod
77 def Name(cls): 78 def Name(cls):
78 return 'startup.large_profile.cold.blank_page' 79 return 'startup.large_profile.cold.blank_page'
79 80
80 @benchmark.Enabled('has tabs') 81 @benchmark.Enabled('has tabs')
81 @benchmark.Enabled('win', 'linux', 'mac') 82 @benchmark.Enabled('win', 'linux', 'mac')
83 @benchmark.Disabled('reference')
82 class StartupLargeProfileWarmBlankPage(_StartupWarm): 84 class StartupLargeProfileWarmBlankPage(_StartupWarm):
83 """Measures warm startup time with a large profile.""" 85 """Measures warm startup time with a large profile."""
84 tag = 'warm' 86 tag = 'warm'
85 page_set = page_sets.BlankPageSet 87 page_set = page_sets.BlankPageSet
86 options = {'pageset_repeat': 1} 88 options = {'pageset_repeat': 1}
87 89
88 def __init__(self, max_failures=None): 90 def __init__(self, max_failures=None):
89 super(StartupLargeProfileWarmBlankPage, self).__init__(max_failures) 91 super(StartupLargeProfileWarmBlankPage, self).__init__(max_failures)
90 self.generated_profile_archive = "large_profile.zip" 92 self.generated_profile_archive = "large_profile.zip"
91 93
92 def CustomizeBrowserOptions(self, options): 94 def CustomizeBrowserOptions(self, options):
93 options.browser_startup_timeout = 10 * 60 95 options.browser_startup_timeout = 10 * 60
94 96
95 @classmethod 97 @classmethod
96 def Name(cls): 98 def Name(cls):
97 return 'startup.large_profile.warm.blank_page' 99 return 'startup.large_profile.warm.blank_page'
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