| 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 |
| 73 class PageCyclerIntlHiRu(_PageCycler): | 74 class PageCyclerIntlHiRu(_PageCycler): |
| 74 """Page load time benchmark for a variety of pages in Hindi and Russian. | 75 """Page load time benchmark for a variety of pages in Hindi and Russian. |
| 75 | 76 |
| 76 Runs against pages recorded in April, 2013. | 77 Runs against pages recorded in April, 2013. |
| 77 """ | 78 """ |
| 78 page_set = page_sets.IntlHiRuPageSet | 79 page_set = page_sets.IntlHiRuPageSet |
| 79 | 80 |
| 80 @classmethod | 81 @classmethod |
| 81 def Name(cls): | 82 def Name(cls): |
| 82 return 'page_cycler.intl_hi_ru' | 83 return 'page_cycler.intl_hi_ru' |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |