| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 Runs against pages recorded in April, 2013. | 49 Runs against pages recorded in April, 2013. |
| 50 """ | 50 """ |
| 51 page_set = page_sets.IntlArFaHePageSet | 51 page_set = page_sets.IntlArFaHePageSet |
| 52 | 52 |
| 53 @classmethod | 53 @classmethod |
| 54 def Name(cls): | 54 def Name(cls): |
| 55 return 'page_cycler.intl_ar_fa_he' | 55 return 'page_cycler.intl_ar_fa_he' |
| 56 | 56 |
| 57 | 57 |
| 58 @benchmark.Disabled('win') # crbug.com/388337 | 58 @benchmark.Disabled('win') # crbug.com/366715 |
| 59 class PageCyclerIntlEsFrPtBr(_PageCycler): | 59 class PageCyclerIntlEsFrPtBr(_PageCycler): |
| 60 """Page load time for a pages in Spanish, French and Brazilian Portuguese. | 60 """Page load time for a pages in Spanish, French and Brazilian Portuguese. |
| 61 | 61 |
| 62 Runs against pages recorded in April, 2013. | 62 Runs against pages recorded in April, 2013. |
| 63 """ | 63 """ |
| 64 page_set = page_sets.IntlEsFrPtBrPageSet | 64 page_set = page_sets.IntlEsFrPtBrPageSet |
| 65 | 65 |
| 66 @classmethod | 66 @classmethod |
| 67 def Name(cls): | 67 def Name(cls): |
| 68 return 'page_cycler.intl_es_fr_pt-BR' | 68 return 'page_cycler.intl_es_fr_pt-BR' |
| 69 | 69 |
| 70 | 70 |
| 71 class PageCyclerIntlHiRu(_PageCycler): | 71 class PageCyclerIntlHiRu(_PageCycler): |
| 72 """Page load time benchmark for a variety of pages in Hindi and Russian. | 72 """Page load time benchmark for a variety of pages in Hindi and Russian. |
| 73 | 73 |
| 74 Runs against pages recorded in April, 2013. | 74 Runs against pages recorded in April, 2013. |
| 75 """ | 75 """ |
| 76 page_set = page_sets.IntlHiRuPageSet | 76 page_set = page_sets.IntlHiRuPageSet |
| 77 | 77 |
| 78 @classmethod | 78 @classmethod |
| 79 def Name(cls): | 79 def Name(cls): |
| 80 return 'page_cycler.intl_hi_ru' | 80 return 'page_cycler.intl_hi_ru' |
| 81 | 81 |
| 82 | 82 |
| 83 @benchmark.Disabled('android', 'win') # crbug.com/379564, crbug.com/330909 | 83 @benchmark.Disabled('android', 'win') # crbug.com/379564, crbug.com/434366 |
| 84 class PageCyclerIntlJaZh(_PageCycler): | 84 class PageCyclerIntlJaZh(_PageCycler): |
| 85 """Page load time benchmark for a variety of pages in Japanese and Chinese. | 85 """Page load time benchmark for a variety of pages in Japanese and Chinese. |
| 86 | 86 |
| 87 Runs against pages recorded in April, 2013. | 87 Runs against pages recorded in April, 2013. |
| 88 """ | 88 """ |
| 89 page_set = page_sets.IntlJaZhPageSet | 89 page_set = page_sets.IntlJaZhPageSet |
| 90 | 90 |
| 91 @classmethod | 91 @classmethod |
| 92 def Name(cls): | 92 def Name(cls): |
| 93 return 'page_cycler.intl_ja_zh' | 93 return 'page_cycler.intl_ja_zh' |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |