| OLD | NEW |
| 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 core import perf_benchmark | 5 from core import perf_benchmark |
| 6 from measurements import startup | 6 from measurements import startup |
| 7 import page_sets | 7 import page_sets |
| 8 from telemetry import benchmark | 8 from telemetry import benchmark |
| 9 | 9 |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 @classmethod | 79 @classmethod |
| 80 def Name(cls): | 80 def Name(cls): |
| 81 return 'startup.large_profile.cold.blank_page' | 81 return 'startup.large_profile.cold.blank_page' |
| 82 | 82 |
| 83 | 83 |
| 84 @benchmark.Disabled('reference', # http://crbug.com/476882 | 84 @benchmark.Disabled('reference', # http://crbug.com/476882 |
| 85 'android', # http://crbug.com/481919 | 85 'android', # http://crbug.com/481919 |
| 86 'yosemite', # http://crbug.com/605485 | 86 'yosemite', # http://crbug.com/605485 |
| 87 'mac', # http://crbug.com/700843 | 87 'mac', # http://crbug.com/700843 |
| 88 'win', # http://crbug.com/704137 |
| 88 'content-shell') # No pregenerated profiles. | 89 'content-shell') # No pregenerated profiles. |
| 89 class StartupLargeProfileWarmBlankPage(_StartupWarm): | 90 class StartupLargeProfileWarmBlankPage(_StartupWarm): |
| 90 """Measures warm startup time with a large profile.""" | 91 """Measures warm startup time with a large profile.""" |
| 91 tag = 'warm' | 92 tag = 'warm' |
| 92 page_set = page_sets.BlankPageSetWithLargeProfile | 93 page_set = page_sets.BlankPageSetWithLargeProfile |
| 93 options = {'pageset_repeat': 4} | 94 options = {'pageset_repeat': 4} |
| 94 | 95 |
| 95 def __init__(self, max_failures=None): | 96 def __init__(self, max_failures=None): |
| 96 super(StartupLargeProfileWarmBlankPage, self).__init__(max_failures) | 97 super(StartupLargeProfileWarmBlankPage, self).__init__(max_failures) |
| 97 | 98 |
| 98 def SetExtraBrowserOptions(self, options): | 99 def SetExtraBrowserOptions(self, options): |
| 99 options.browser_startup_timeout = 10 * 60 | 100 options.browser_startup_timeout = 10 * 60 |
| 100 | 101 |
| 101 @classmethod | 102 @classmethod |
| 102 def Name(cls): | 103 def Name(cls): |
| 103 return 'startup.large_profile.warm.blank_page' | 104 return 'startup.large_profile.warm.blank_page' |
| OLD | NEW |