| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 return 'page_cycler.top_10_mobile' | 174 return 'page_cycler.top_10_mobile' |
| 175 | 175 |
| 176 def CreateStorySet(self, options): | 176 def CreateStorySet(self, options): |
| 177 # Disable the taobao.com page since it's crashing. crbug.com/509690 | 177 # Disable the taobao.com page since it's crashing. crbug.com/509690 |
| 178 stories = page_sets.Top10MobilePageSet(run_no_page_interactions=True) | 178 stories = page_sets.Top10MobilePageSet(run_no_page_interactions=True) |
| 179 found = next((x for x in stories if 'taobao.com' in x.url), None) | 179 found = next((x for x in stories if 'taobao.com' in x.url), None) |
| 180 if found: | 180 if found: |
| 181 stories.RemoveStory(found) | 181 stories.RemoveStory(found) |
| 182 return stories | 182 return stories |
| 183 | 183 |
| 184 @benchmark.Disabled | 184 @benchmark.Disabled('all') |
| 185 class PageCyclerKeyMobileSites(_PageCycler): | 185 class PageCyclerKeyMobileSites(_PageCycler): |
| 186 """Page load time benchmark for key mobile sites.""" | 186 """Page load time benchmark for key mobile sites.""" |
| 187 page_set = page_sets.KeyMobileSitesPageSet | 187 page_set = page_sets.KeyMobileSitesPageSet |
| 188 | 188 |
| 189 @classmethod | 189 @classmethod |
| 190 def Name(cls): | 190 def Name(cls): |
| 191 return 'page_cycler.key_mobile_sites_smooth' | 191 return 'page_cycler.key_mobile_sites_smooth' |
| 192 | 192 |
| 193 | 193 |
| 194 @benchmark.Disabled('android') # crbug.com/357326 | 194 @benchmark.Disabled('android') # crbug.com/357326 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 class PageCyclerBasicOopif(_PageCycler): | 239 class PageCyclerBasicOopif(_PageCycler): |
| 240 """ A benchmark measuring performance of the out-of-process iframes page | 240 """ A benchmark measuring performance of the out-of-process iframes page |
| 241 set, without running in out-of-process iframes mode.. """ | 241 set, without running in out-of-process iframes mode.. """ |
| 242 page_set = page_sets.OopifBasicPageSet | 242 page_set = page_sets.OopifBasicPageSet |
| 243 | 243 |
| 244 @classmethod | 244 @classmethod |
| 245 def Name(cls): | 245 def Name(cls): |
| 246 return 'page_cycler.basic_oopif' | 246 return 'page_cycler.basic_oopif' |
| 247 | 247 |
| 248 | 248 |
| 249 @benchmark.Disabled # crbug.com/443730 | 249 @benchmark.Disabled('all') # crbug.com/443730 |
| 250 class PageCyclerBigJs(_PageCycler): | 250 class PageCyclerBigJs(_PageCycler): |
| 251 page_set = page_sets.BigJsPageSet | 251 page_set = page_sets.BigJsPageSet |
| 252 @classmethod | 252 @classmethod |
| 253 def Name(cls): | 253 def Name(cls): |
| 254 return 'page_cycler.big_js' | 254 return 'page_cycler.big_js' |
| OLD | NEW |