| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 140 |
| 141 def CreateStorySet(self, options): | 141 def CreateStorySet(self, options): |
| 142 # Disable the taobao.com page since it's crashing. crbug.com/509690 | 142 # Disable the taobao.com page since it's crashing. crbug.com/509690 |
| 143 stories = page_sets.Top10MobilePageSet(run_no_page_interactions=True) | 143 stories = page_sets.Top10MobilePageSet(run_no_page_interactions=True) |
| 144 found = next((x for x in stories if 'taobao.com' in x.url), None) | 144 found = next((x for x in stories if 'taobao.com' in x.url), None) |
| 145 if found: | 145 if found: |
| 146 stories.RemoveStory(found) | 146 stories.RemoveStory(found) |
| 147 return stories | 147 return stories |
| 148 | 148 |
| 149 | 149 |
| 150 @benchmark.Disabled('all') | |
| 151 class PageCyclerKeyMobileSites(_PageCycler): | |
| 152 """Page load time benchmark for key mobile sites.""" | |
| 153 page_set = page_sets.KeyMobileSitesPageSet | |
| 154 | |
| 155 @classmethod | |
| 156 def Name(cls): | |
| 157 return 'page_cycler.key_mobile_sites_smooth' | |
| 158 | |
| 159 | |
| 160 @benchmark.Disabled('android') # crbug.com/357326 | 150 @benchmark.Disabled('android') # crbug.com/357326 |
| 161 class PageCyclerToughLayoutCases(_PageCycler): | 151 class PageCyclerToughLayoutCases(_PageCycler): |
| 162 """Page loading for the slowest layouts observed in the Alexa top 1 million. | 152 """Page loading for the slowest layouts observed in the Alexa top 1 million. |
| 163 | 153 |
| 164 Recorded in July 2013. | 154 Recorded in July 2013. |
| 165 """ | 155 """ |
| 166 page_set = page_sets.ToughLayoutCasesPageSet | 156 page_set = page_sets.ToughLayoutCasesPageSet |
| 167 | 157 |
| 168 @classmethod | 158 @classmethod |
| 169 def Name(cls): | 159 def Name(cls): |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 set, without running in out-of-process iframes mode.. """ | 200 set, without running in out-of-process iframes mode.. """ |
| 211 page_set = page_sets.OopifBasicPageSet | 201 page_set = page_sets.OopifBasicPageSet |
| 212 | 202 |
| 213 @classmethod | 203 @classmethod |
| 214 def Name(cls): | 204 def Name(cls): |
| 215 return 'page_cycler.basic_oopif' | 205 return 'page_cycler.basic_oopif' |
| 216 | 206 |
| 217 @classmethod | 207 @classmethod |
| 218 def ShouldDisable(cls, possible_browser): | 208 def ShouldDisable(cls, possible_browser): |
| 219 return cls.IsSvelte(possible_browser) # http://crbug.com/607657 | 209 return cls.IsSvelte(possible_browser) # http://crbug.com/607657 |
| 220 | |
| 221 | |
| 222 @benchmark.Disabled('all') # crbug.com/443730 | |
| 223 class PageCyclerBigJs(_PageCycler): | |
| 224 page_set = page_sets.BigJsPageSet | |
| 225 | |
| 226 @classmethod | |
| 227 def Name(cls): | |
| 228 return 'page_cycler.big_js' | |
| OLD | NEW |