| 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 measurements import page_cycler | 5 from measurements import page_cycler |
| 6 import page_sets | 6 import page_sets |
| 7 from telemetry import benchmark | 7 from telemetry import benchmark |
| 8 | 8 |
| 9 | 9 |
| 10 class _PageCycler(benchmark.Benchmark): | 10 class _PageCycler(benchmark.Benchmark): |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 page_set = page_sets.Top10MobilePageSet | 172 page_set = page_sets.Top10MobilePageSet |
| 173 | 173 |
| 174 @classmethod | 174 @classmethod |
| 175 def Name(cls): | 175 def Name(cls): |
| 176 return 'page_cycler.top_10_mobile' | 176 return 'page_cycler.top_10_mobile' |
| 177 | 177 |
| 178 | 178 |
| 179 @benchmark.Disabled | 179 @benchmark.Disabled |
| 180 class PageCyclerKeyMobileSites(_PageCycler): | 180 class PageCyclerKeyMobileSites(_PageCycler): |
| 181 """Page load time benchmark for key mobile sites.""" | 181 """Page load time benchmark for key mobile sites.""" |
| 182 page_set = page_sets.KeyMobileSitesSmoothPageSet | 182 page_set = page_sets.KeyMobileSitesCyclerPageSet |
| 183 | 183 |
| 184 @classmethod | 184 @classmethod |
| 185 def Name(cls): | 185 def Name(cls): |
| 186 return 'page_cycler.key_mobile_sites_smooth' | 186 return 'page_cycler.key_mobile_sites_smooth' |
| 187 | 187 |
| 188 | 188 |
| 189 @benchmark.Disabled('android') # crbug.com/357326 | 189 @benchmark.Disabled('android') # crbug.com/357326 |
| 190 class PageCyclerToughLayoutCases(_PageCycler): | 190 class PageCyclerToughLayoutCases(_PageCycler): |
| 191 """Page loading for the slowest layouts observed in the Alexa top 1 million. | 191 """Page loading for the slowest layouts observed in the Alexa top 1 million. |
| 192 | 192 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 214 return 'page_cycler.typical_25' | 214 return 'page_cycler.typical_25' |
| 215 | 215 |
| 216 | 216 |
| 217 @benchmark.Disabled # crbug.com/443730 | 217 @benchmark.Disabled # crbug.com/443730 |
| 218 class PageCyclerBigJs(_PageCycler): | 218 class PageCyclerBigJs(_PageCycler): |
| 219 page_set = page_sets.BigJsPageSet | 219 page_set = page_sets.BigJsPageSet |
| 220 @classmethod | 220 @classmethod |
| 221 def Name(cls): | 221 def Name(cls): |
| 222 return 'page_cycler.big_js' | 222 return 'page_cycler.big_js' |
| 223 | 223 |
| OLD | NEW |