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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 Runs against pages recorded in April, 2013. | 64 Runs against pages recorded in April, 2013. |
65 """ | 65 """ |
66 page_set = page_sets.IntlEsFrPtBrPageSet | 66 page_set = page_sets.IntlEsFrPtBrPageSet |
67 | 67 |
68 @classmethod | 68 @classmethod |
69 def Name(cls): | 69 def Name(cls): |
70 return 'page_cycler.intl_es_fr_pt-BR' | 70 return 'page_cycler.intl_es_fr_pt-BR' |
71 | 71 |
72 | 72 |
73 @benchmark.Disabled('win', 'mac', 'linux') # crbug.com/470071 | |
74 class PageCyclerIntlHiRu(_PageCycler): | 73 class PageCyclerIntlHiRu(_PageCycler): |
75 """Page load time benchmark for a variety of pages in Hindi and Russian. | 74 """Page load time benchmark for a variety of pages in Hindi and Russian. |
76 | 75 |
77 Runs against pages recorded in April, 2013. | 76 Runs against pages recorded in April, 2013. |
78 """ | 77 """ |
79 page_set = page_sets.IntlHiRuPageSet | 78 page_set = page_sets.IntlHiRuPageSet |
80 | 79 |
81 @classmethod | 80 @classmethod |
82 def Name(cls): | 81 def Name(cls): |
83 return 'page_cycler.intl_hi_ru' | 82 return 'page_cycler.intl_hi_ru' |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 Recorded in July 2013. | 191 Recorded in July 2013. |
193 """ | 192 """ |
194 page_set = page_sets.ToughLayoutCasesPageSet | 193 page_set = page_sets.ToughLayoutCasesPageSet |
195 | 194 |
196 @classmethod | 195 @classmethod |
197 def Name(cls): | 196 def Name(cls): |
198 return 'page_cycler.tough_layout_cases' | 197 return 'page_cycler.tough_layout_cases' |
199 | 198 |
200 | 199 |
201 # crbug.com/273986: This test is flakey on Windows. | 200 # crbug.com/273986: This test is flakey on Windows. |
202 # crbug.com/470071: This test is failing on N10 | 201 @benchmark.Disabled('win') |
203 @benchmark.Disabled('win', 'android') | |
204 class PageCyclerTypical25(_PageCycler): | 202 class PageCyclerTypical25(_PageCycler): |
205 """Page load time benchmark for a 25 typical web pages. | 203 """Page load time benchmark for a 25 typical web pages. |
206 | 204 |
207 Designed to represent typical, not highly optimized or highly popular web | 205 Designed to represent typical, not highly optimized or highly popular web |
208 sites. Runs against pages recorded in June, 2014. | 206 sites. Runs against pages recorded in June, 2014. |
209 """ | 207 """ |
210 | 208 |
211 @classmethod | 209 @classmethod |
212 def Name(cls): | 210 def Name(cls): |
213 return 'page_cycler.typical_25' | 211 return 'page_cycler.typical_25' |
(...skipping 16 matching lines...) Expand all Loading... |
230 | 228 |
231 def CreatePageSet(self, options): | 229 def CreatePageSet(self, options): |
232 return page_sets.Typical25PageSet(run_no_page_interactions=True) | 230 return page_sets.Typical25PageSet(run_no_page_interactions=True) |
233 | 231 |
234 @benchmark.Disabled # crbug.com/443730 | 232 @benchmark.Disabled # crbug.com/443730 |
235 class PageCyclerBigJs(_PageCycler): | 233 class PageCyclerBigJs(_PageCycler): |
236 page_set = page_sets.BigJsPageSet | 234 page_set = page_sets.BigJsPageSet |
237 @classmethod | 235 @classmethod |
238 def Name(cls): | 236 def Name(cls): |
239 return 'page_cycler.big_js' | 237 return 'page_cycler.big_js' |
OLD | NEW |