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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 'pageset_repeat': 5, | 78 'pageset_repeat': 5, |
79 } | 79 } |
80 | 80 |
81 def __init__(self): | 81 def __init__(self): |
82 super(PageCyclerNetsimTop10, self).__init__() | 82 super(PageCyclerNetsimTop10, self).__init__() |
83 # TODO: This isn't quite right. | 83 # TODO: This isn't quite right. |
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 @benchmark.Enabled('android') |
88 class PageCyclerTop10Mobile(benchmark.Benchmark): | 89 class PageCyclerTop10Mobile(benchmark.Benchmark): |
89 test = page_cycler.PageCycler | 90 test = page_cycler.PageCycler |
90 page_set = page_sets.Top10MobilePageSet | 91 page_set = page_sets.Top10MobilePageSet |
91 options = {'pageset_repeat': 10} | 92 options = {'pageset_repeat': 10} |
92 | 93 |
93 | 94 |
94 @benchmark.Disabled('android') | 95 @benchmark.Disabled |
95 class PageCyclerKeyMobileSites(benchmark.Benchmark): | 96 class PageCyclerKeyMobileSites(benchmark.Benchmark): |
96 test = page_cycler.PageCycler | 97 test = page_cycler.PageCycler |
97 page_set = page_sets.KeyMobileSitesPageSet | 98 page_set = page_sets.KeyMobileSitesPageSet |
98 options = {'pageset_repeat': 10} | 99 options = {'pageset_repeat': 10} |
99 | 100 |
100 | 101 |
101 @benchmark.Disabled('android') # crbug.com/357326 | 102 @benchmark.Disabled('android') # crbug.com/357326 |
102 class PageCyclerToughLayoutCases(benchmark.Benchmark): | 103 class PageCyclerToughLayoutCases(benchmark.Benchmark): |
103 test = page_cycler.PageCycler | 104 test = page_cycler.PageCycler |
104 page_set = page_sets.ToughLayoutCasesPageSet | 105 page_set = page_sets.ToughLayoutCasesPageSet |
105 options = {'pageset_repeat': 10} | 106 options = {'pageset_repeat': 10} |
106 | 107 |
107 | 108 |
108 # crbug.com/273986: This test is really flakey on xp. | 109 # crbug.com/273986: This test is really flakey on xp. |
109 # cabug.com/341843: This test is always timing out on Android. | 110 # cabug.com/341843: This test is always timing out on Android. |
110 @benchmark.Disabled('android', 'win') | 111 @benchmark.Disabled('android', 'win') |
111 class PageCyclerTypical25(benchmark.Benchmark): | 112 class PageCyclerTypical25(benchmark.Benchmark): |
112 test = page_cycler.PageCycler | 113 test = page_cycler.PageCycler |
113 page_set = page_sets.Typical25PageSet | 114 page_set = page_sets.Typical25PageSet |
114 options = {'pageset_repeat': 10} | 115 options = {'pageset_repeat': 10} |
OLD | NEW |