| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 """Page load time for a variety of pages in Korean, Thai and Vietnamese. | 111 """Page load time for a variety of pages in Korean, Thai and Vietnamese. |
| 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 |
| 122 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 123 return (possible_browser.browser_type == 'reference' and |
| 124 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 125 |
| 121 | 126 |
| 122 class PageCyclerMorejs(_PageCycler): | 127 class PageCyclerMorejs(_PageCycler): |
| 123 """Page load for a variety of pages that were JavaScript heavy in 2009.""" | 128 """Page load for a variety of pages that were JavaScript heavy in 2009.""" |
| 124 page_set = page_sets.MorejsPageSet | 129 page_set = page_sets.MorejsPageSet |
| 125 | 130 |
| 126 @classmethod | 131 @classmethod |
| 127 def Name(cls): | 132 def Name(cls): |
| 128 return 'page_cycler.morejs' | 133 return 'page_cycler.morejs' |
| 129 | 134 |
| 130 | 135 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 return 'page_cycler.basic_oopif' | 235 return 'page_cycler.basic_oopif' |
| 231 | 236 |
| 232 | 237 |
| 233 @benchmark.Disabled('all') # crbug.com/443730 | 238 @benchmark.Disabled('all') # crbug.com/443730 |
| 234 class PageCyclerBigJs(_PageCycler): | 239 class PageCyclerBigJs(_PageCycler): |
| 235 page_set = page_sets.BigJsPageSet | 240 page_set = page_sets.BigJsPageSet |
| 236 | 241 |
| 237 @classmethod | 242 @classmethod |
| 238 def Name(cls): | 243 def Name(cls): |
| 239 return 'page_cycler.big_js' | 244 return 'page_cycler.big_js' |
| OLD | NEW |