| 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 PageCyclerBloat(benchmark.Benchmark): | 10 class PageCyclerBloat(benchmark.Benchmark): |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 # This option will still apply to page cyclers that run after this one. | 84 # This option will still apply to page cyclers that run after this one. |
| 85 self.test.clear_cache_before_each_run = True | 85 self.test.clear_cache_before_each_run = True |
| 86 | 86 |
| 87 | 87 |
| 88 class PageCyclerTop10Mobile(benchmark.Benchmark): | 88 class PageCyclerTop10Mobile(benchmark.Benchmark): |
| 89 test = page_cycler.PageCycler | 89 test = page_cycler.PageCycler |
| 90 page_set = page_sets.Top10MobilePageSet | 90 page_set = page_sets.Top10MobilePageSet |
| 91 options = {'pageset_repeat': 10} | 91 options = {'pageset_repeat': 10} |
| 92 | 92 |
| 93 | 93 |
| 94 @benchmark.Disabled('android') |
| 94 class PageCyclerKeyMobileSites(benchmark.Benchmark): | 95 class PageCyclerKeyMobileSites(benchmark.Benchmark): |
| 95 test = page_cycler.PageCycler | 96 test = page_cycler.PageCycler |
| 96 page_set = page_sets.KeyMobileSitesPageSet | 97 page_set = page_sets.KeyMobileSitesPageSet |
| 97 options = {'pageset_repeat': 10} | 98 options = {'pageset_repeat': 10} |
| 98 | 99 |
| 99 | 100 |
| 100 @benchmark.Disabled('android') # crbug.com/357326 | 101 @benchmark.Disabled('android') # crbug.com/357326 |
| 101 class PageCyclerToughLayoutCases(benchmark.Benchmark): | 102 class PageCyclerToughLayoutCases(benchmark.Benchmark): |
| 102 test = page_cycler.PageCycler | 103 test = page_cycler.PageCycler |
| 103 page_set = page_sets.ToughLayoutCasesPageSet | 104 page_set = page_sets.ToughLayoutCasesPageSet |
| 104 options = {'pageset_repeat': 10} | 105 options = {'pageset_repeat': 10} |
| 105 | 106 |
| 106 | 107 |
| 107 # crbug.com/273986: This test is really flakey on xp. | 108 # crbug.com/273986: This test is really flakey on xp. |
| 108 # cabug.com/341843: This test is always timing out on Android. | 109 # cabug.com/341843: This test is always timing out on Android. |
| 109 @benchmark.Disabled('android', 'win') | 110 @benchmark.Disabled('android', 'win') |
| 110 class PageCyclerTypical25(benchmark.Benchmark): | 111 class PageCyclerTypical25(benchmark.Benchmark): |
| 111 test = page_cycler.PageCycler | 112 test = page_cycler.PageCycler |
| 112 page_set = page_sets.Typical25PageSet | 113 page_set = page_sets.Typical25PageSet |
| 113 options = {'pageset_repeat': 10} | 114 options = {'pageset_repeat': 10} |
| OLD | NEW |