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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 Recorded in July 2013. | 191 Recorded in July 2013. |
192 """ | 192 """ |
193 page_set = page_sets.ToughLayoutCasesPageSet | 193 page_set = page_sets.ToughLayoutCasesPageSet |
194 | 194 |
195 @classmethod | 195 @classmethod |
196 def Name(cls): | 196 def Name(cls): |
197 return 'page_cycler.tough_layout_cases' | 197 return 'page_cycler.tough_layout_cases' |
198 | 198 |
199 | 199 |
200 # crbug.com/273986: This test is flakey on Windows. | 200 # crbug.com/273986: This test is flakey on Windows. |
201 @benchmark.Disabled('win') | 201 # crbug.com/470071: This test is failing on N10 |
| 202 @benchmark.Disabled('win', 'android') |
202 class PageCyclerTypical25(_PageCycler): | 203 class PageCyclerTypical25(_PageCycler): |
203 """Page load time benchmark for a 25 typical web pages. | 204 """Page load time benchmark for a 25 typical web pages. |
204 | 205 |
205 Designed to represent typical, not highly optimized or highly popular web | 206 Designed to represent typical, not highly optimized or highly popular web |
206 sites. Runs against pages recorded in June, 2014. | 207 sites. Runs against pages recorded in June, 2014. |
207 """ | 208 """ |
208 | 209 |
209 @classmethod | 210 @classmethod |
210 def Name(cls): | 211 def Name(cls): |
211 return 'page_cycler.typical_25' | 212 return 'page_cycler.typical_25' |
(...skipping 16 matching lines...) Expand all Loading... |
228 | 229 |
229 def CreatePageSet(self, options): | 230 def CreatePageSet(self, options): |
230 return page_sets.Typical25PageSet(run_no_page_interactions=True) | 231 return page_sets.Typical25PageSet(run_no_page_interactions=True) |
231 | 232 |
232 @benchmark.Disabled # crbug.com/443730 | 233 @benchmark.Disabled # crbug.com/443730 |
233 class PageCyclerBigJs(_PageCycler): | 234 class PageCyclerBigJs(_PageCycler): |
234 page_set = page_sets.BigJsPageSet | 235 page_set = page_sets.BigJsPageSet |
235 @classmethod | 236 @classmethod |
236 def Name(cls): | 237 def Name(cls): |
237 return 'page_cycler.big_js' | 238 return 'page_cycler.big_js' |
OLD | NEW |