| 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 | 6 |
| 7 from measurements import page_cycler | 7 from measurements import page_cycler |
| 8 import page_sets | 8 import page_sets |
| 9 from telemetry import benchmark | 9 from telemetry import benchmark |
| 10 | 10 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 def Name(cls): | 147 def Name(cls): |
| 148 return 'page_cycler.tough_layout_cases' | 148 return 'page_cycler.tough_layout_cases' |
| 149 | 149 |
| 150 | 150 |
| 151 class PageCyclerTypical25(_PageCycler): | 151 class PageCyclerTypical25(_PageCycler): |
| 152 """Page load time benchmark for a 25 typical web pages. | 152 """Page load time benchmark for a 25 typical web pages. |
| 153 | 153 |
| 154 Designed to represent typical, not highly optimized or highly popular web | 154 Designed to represent typical, not highly optimized or highly popular web |
| 155 sites. Runs against pages recorded in June, 2014. | 155 sites. Runs against pages recorded in June, 2014. |
| 156 """ | 156 """ |
| 157 options = {'pageset_repeat': 3} | 157 options = {'pageset_repeat': 1} |
| 158 | 158 |
| 159 @classmethod | 159 @classmethod |
| 160 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 160 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 161 if (possible_browser.browser_type == 'reference' and | 161 if (possible_browser.browser_type == 'reference' and |
| 162 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'): | 162 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'): |
| 163 return True | 163 return True |
| 164 # http://crbug.com/616781 | 164 # http://crbug.com/616781 |
| 165 if possible_browser.platform.GetDeviceTypeName() == 'AOSP on BullHead': | 165 if possible_browser.platform.GetDeviceTypeName() == 'AOSP on BullHead': |
| 166 return True | 166 return True |
| 167 return False | 167 return False |
| (...skipping 24 matching lines...) Expand all Loading... |
| 192 set, without running in out-of-process iframes mode.. """ | 192 set, without running in out-of-process iframes mode.. """ |
| 193 page_set = page_sets.OopifBasicPageSet | 193 page_set = page_sets.OopifBasicPageSet |
| 194 | 194 |
| 195 @classmethod | 195 @classmethod |
| 196 def Name(cls): | 196 def Name(cls): |
| 197 return 'page_cycler.basic_oopif' | 197 return 'page_cycler.basic_oopif' |
| 198 | 198 |
| 199 @classmethod | 199 @classmethod |
| 200 def ShouldDisable(cls, possible_browser): | 200 def ShouldDisable(cls, possible_browser): |
| 201 return cls.IsSvelte(possible_browser) # http://crbug.com/607657 | 201 return cls.IsSvelte(possible_browser) # http://crbug.com/607657 |
| OLD | NEW |