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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 def Name(cls): | 168 def Name(cls): |
169 return 'page_cycler.top_10_mobile' | 169 return 'page_cycler.top_10_mobile' |
170 | 170 |
171 def CreatePageSet(self, options): | 171 def CreatePageSet(self, options): |
172 return page_sets.Top10MobilePageSet(run_no_page_interactions=True) | 172 return page_sets.Top10MobilePageSet(run_no_page_interactions=True) |
173 | 173 |
174 | 174 |
175 @benchmark.Disabled | 175 @benchmark.Disabled |
176 class PageCyclerKeyMobileSites(_PageCycler): | 176 class PageCyclerKeyMobileSites(_PageCycler): |
177 """Page load time benchmark for key mobile sites.""" | 177 """Page load time benchmark for key mobile sites.""" |
178 page_set = page_sets.KeyMobileSitesCyclerPageSet | 178 page_set = page_sets.KeyMobileSitesPageSet |
179 | 179 |
180 @classmethod | 180 @classmethod |
181 def Name(cls): | 181 def Name(cls): |
182 return 'page_cycler.key_mobile_sites_smooth' | 182 return 'page_cycler.key_mobile_sites_smooth' |
183 | 183 |
184 | 184 |
185 @benchmark.Disabled('android') # crbug.com/357326 | 185 @benchmark.Disabled('android') # crbug.com/357326 |
186 class PageCyclerToughLayoutCases(_PageCycler): | 186 class PageCyclerToughLayoutCases(_PageCycler): |
187 """Page loading for the slowest layouts observed in the Alexa top 1 million. | 187 """Page loading for the slowest layouts observed in the Alexa top 1 million. |
188 | 188 |
(...skipping 23 matching lines...) Expand all Loading... |
212 return page_sets.Typical25PageSet(run_no_page_interactions=True) | 212 return page_sets.Typical25PageSet(run_no_page_interactions=True) |
213 | 213 |
214 | 214 |
215 @benchmark.Disabled # crbug.com/443730 | 215 @benchmark.Disabled # crbug.com/443730 |
216 class PageCyclerBigJs(_PageCycler): | 216 class PageCyclerBigJs(_PageCycler): |
217 page_set = page_sets.BigJsPageSet | 217 page_set = page_sets.BigJsPageSet |
218 @classmethod | 218 @classmethod |
219 def Name(cls): | 219 def Name(cls): |
220 return 'page_cycler.big_js' | 220 return 'page_cycler.big_js' |
221 | 221 |
OLD | NEW |