| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 tag = 'fast_path_gpu_rasterization' | 109 tag = 'fast_path_gpu_rasterization' |
| 110 test = smoothness.Smoothness | 110 test = smoothness.Smoothness |
| 111 page_set = page_sets.KeySilkCasesPageSet | 111 page_set = page_sets.KeySilkCasesPageSet |
| 112 def CustomizeBrowserOptions(self, options): | 112 def CustomizeBrowserOptions(self, options): |
| 113 super(SmoothnessFastPathGpuRasterizationKeySilkCases, self). \ | 113 super(SmoothnessFastPathGpuRasterizationKeySilkCases, self). \ |
| 114 CustomizeBrowserOptions(options) | 114 CustomizeBrowserOptions(options) |
| 115 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 115 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| 116 | 116 |
| 117 | 117 |
| 118 @benchmark.Enabled('android') | 118 @benchmark.Enabled('android') |
| 119 class SmoothnessSimpleMobilePages(benchmark.Benchmark): |
| 120 """Measures rendering statistics for pinch-zooming into the tough pinch zoom |
| 121 cases |
| 122 """ |
| 123 test = smoothness.Smoothness |
| 124 page_set = page_sets.SimpleMobileSitesPageSet |
| 125 |
| 126 |
| 127 @benchmark.Enabled('android') |
| 119 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): | 128 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): |
| 120 """Measures rendering statistics for pinch-zooming into the tough pinch zoom | 129 """Measures rendering statistics for pinch-zooming into the tough pinch zoom |
| 121 cases | 130 cases |
| 122 """ | 131 """ |
| 123 test = smoothness.Smoothness | 132 test = smoothness.Smoothness |
| 124 page_set = page_sets.ToughPinchZoomCasesPageSet | 133 page_set = page_sets.ToughPinchZoomCasesPageSet |
| 125 | 134 |
| 126 | 135 |
| 127 class SmoothnessPolymer(benchmark.Benchmark): | 136 class SmoothnessPolymer(benchmark.Benchmark): |
| 128 """Measures rendering statistics for Polymer cases. | 137 """Measures rendering statistics for Polymer cases. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 158 """Measures rendering statistics for the Polymer cases with GPU rasterization | 167 """Measures rendering statistics for the Polymer cases with GPU rasterization |
| 159 using bleeding edge rendering fast paths. | 168 using bleeding edge rendering fast paths. |
| 160 """ | 169 """ |
| 161 tag = 'fast_path_gpu_rasterization' | 170 tag = 'fast_path_gpu_rasterization' |
| 162 test = smoothness.Smoothness | 171 test = smoothness.Smoothness |
| 163 page_set = page_sets.PolymerPageSet | 172 page_set = page_sets.PolymerPageSet |
| 164 def CustomizeBrowserOptions(self, options): | 173 def CustomizeBrowserOptions(self, options): |
| 165 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 174 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
| 166 CustomizeBrowserOptions(options) | 175 CustomizeBrowserOptions(options) |
| 167 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 176 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| OLD | NEW |