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 benchmarks import silk_flags | 5 from benchmarks import silk_flags |
6 import page_sets | 6 import page_sets |
7 from measurements import smoothness | 7 from measurements import smoothness |
8 from telemetry import benchmark | 8 from telemetry import benchmark |
9 | 9 |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 """ | 115 """ |
116 tag = 'fast_path_gpu_rasterization' | 116 tag = 'fast_path_gpu_rasterization' |
117 test = smoothness.Smoothness | 117 test = smoothness.Smoothness |
118 page_set = page_sets.KeySilkCasesPageSet | 118 page_set = page_sets.KeySilkCasesPageSet |
119 def CustomizeBrowserOptions(self, options): | 119 def CustomizeBrowserOptions(self, options): |
120 super(SmoothnessFastPathGpuRasterizationKeySilkCases, self). \ | 120 super(SmoothnessFastPathGpuRasterizationKeySilkCases, self). \ |
121 CustomizeBrowserOptions(options) | 121 CustomizeBrowserOptions(options) |
122 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 122 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
123 | 123 |
124 | 124 |
125 @benchmark.Enabled('android') | 125 @benchmark.Disabled # crbug.com/402885 |
126 class SmoothnessSimpleMobilePages(benchmark.Benchmark): | 126 class SmoothnessSimpleMobilePages(benchmark.Benchmark): |
127 """Measures rendering statistics for pinch-zooming into the tough pinch zoom | 127 """Measures rendering statistics for pinch-zooming into the tough pinch zoom |
128 cases | 128 cases |
129 """ | 129 """ |
130 test = smoothness.Smoothness | 130 test = smoothness.Smoothness |
131 page_set = page_sets.SimpleMobileSitesPageSet | 131 page_set = page_sets.SimpleMobileSitesPageSet |
132 | 132 |
133 | 133 |
134 @benchmark.Enabled('android') | 134 @benchmark.Enabled('android') |
135 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): | 135 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 """Measures rendering statistics for the Polymer cases with GPU rasterization | 175 """Measures rendering statistics for the Polymer cases with GPU rasterization |
176 using bleeding edge rendering fast paths. | 176 using bleeding edge rendering fast paths. |
177 """ | 177 """ |
178 tag = 'fast_path_gpu_rasterization' | 178 tag = 'fast_path_gpu_rasterization' |
179 test = smoothness.Smoothness | 179 test = smoothness.Smoothness |
180 page_set = page_sets.PolymerPageSet | 180 page_set = page_sets.PolymerPageSet |
181 def CustomizeBrowserOptions(self, options): | 181 def CustomizeBrowserOptions(self, options): |
182 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 182 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
183 CustomizeBrowserOptions(options) | 183 CustomizeBrowserOptions(options) |
184 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 184 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
OLD | NEW |