| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 Runs against pages recorded in April, 2013. | 113 Runs against pages recorded in April, 2013. |
| 114 """ | 114 """ |
| 115 page_set = page_sets.IntlKoThViPageSet | 115 page_set = page_sets.IntlKoThViPageSet |
| 116 | 116 |
| 117 @classmethod | 117 @classmethod |
| 118 def Name(cls): | 118 def Name(cls): |
| 119 return 'page_cycler.intl_ko_th_vi' | 119 return 'page_cycler.intl_ko_th_vi' |
| 120 | 120 |
| 121 @classmethod | 121 @classmethod |
| 122 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 122 def ShouldDisable(cls, possible_browser): |
| 123 return (possible_browser.browser_type == 'reference' and | 123 # http://crbug.com/597656 (Android Nexus 5X). |
| 124 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 124 # http://crbug.com/605543 (Mac Snow Leopard). |
| 125 return (possible_browser.browser_type == 'reference' and ( |
| 126 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X' or |
| 127 possible_browser.platform.GetOSVersionName() == 'snowleopard')) |
| 125 | 128 |
| 126 | 129 |
| 127 class PageCyclerMorejs(_PageCycler): | 130 class PageCyclerMorejs(_PageCycler): |
| 128 """Page load for a variety of pages that were JavaScript heavy in 2009.""" | 131 """Page load for a variety of pages that were JavaScript heavy in 2009.""" |
| 129 page_set = page_sets.MorejsPageSet | 132 page_set = page_sets.MorejsPageSet |
| 130 | 133 |
| 131 @classmethod | 134 @classmethod |
| 132 def Name(cls): | 135 def Name(cls): |
| 133 return 'page_cycler.morejs' | 136 return 'page_cycler.morejs' |
| 134 | 137 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 return 'page_cycler.basic_oopif' | 236 return 'page_cycler.basic_oopif' |
| 234 | 237 |
| 235 | 238 |
| 236 @benchmark.Disabled('all') # crbug.com/443730 | 239 @benchmark.Disabled('all') # crbug.com/443730 |
| 237 class PageCyclerBigJs(_PageCycler): | 240 class PageCyclerBigJs(_PageCycler): |
| 238 page_set = page_sets.BigJsPageSet | 241 page_set = page_sets.BigJsPageSet |
| 239 | 242 |
| 240 @classmethod | 243 @classmethod |
| 241 def Name(cls): | 244 def Name(cls): |
| 242 return 'page_cycler.big_js' | 245 return 'page_cycler.big_js' |
| OLD | NEW |