| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 from measurements import smoothness | 6 from measurements import smoothness |
| 7 from telemetry import test | 7 from telemetry import test |
| 8 | 8 |
| 9 | 9 |
| 10 class SmoothnessTop25(test.Test): | 10 class SmoothnessTop25(test.Test): |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 cases | 115 cases |
| 116 """ | 116 """ |
| 117 test = smoothness.Smoothness | 117 test = smoothness.Smoothness |
| 118 page_set = 'page_sets/tough_pinch_zoom_cases.py' | 118 page_set = 'page_sets/tough_pinch_zoom_cases.py' |
| 119 | 119 |
| 120 | 120 |
| 121 class SmoothnessPolymer(test.Test): | 121 class SmoothnessPolymer(test.Test): |
| 122 """Measures rendering statistics for Polymer cases. | 122 """Measures rendering statistics for Polymer cases. |
| 123 """ | 123 """ |
| 124 test = smoothness.Smoothness | 124 test = smoothness.Smoothness |
| 125 page_set = 'page_sets/polymer.py' | 125 page_set = 'page_sets/polymer.py' |
| 126 | |
| 127 | |
| 128 class SmoothnessFastPathPolymer(test.Test): | |
| 129 """Measures rendering statistics for the Polymer cases without GPU | |
| 130 rasterization using bleeding edge rendering fast paths. | |
| 131 """ | |
| 132 tag = 'fast_path' | |
| 133 test = smoothness.Smoothness | |
| 134 page_set = 'page_sets/polymer.py' | |
| 135 def CustomizeBrowserOptions(self, options): | |
| 136 silk_flags.CustomizeBrowserOptionsForFastPath(options) | |
| 137 | |
| 138 | |
| 139 class SmoothnessGpuRasterizationPolymer(test.Test): | |
| 140 """Measures rendering statistics for the Polymer cases with GPU rasterization | |
| 141 """ | |
| 142 tag = 'gpu_rasterization' | |
| 143 test = smoothness.Smoothness | |
| 144 page_set = 'page_sets/polymer.py' | |
| 145 def CustomizeBrowserOptions(self, options): | |
| 146 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | |
| 147 | |
| 148 | |
| 149 class SmoothnessFastPathGpuRasterizationPolymer( | |
| 150 SmoothnessGpuRasterizationPolymer): | |
| 151 """Measures rendering statistics for the Polymer cases with GPU rasterization | |
| 152 using bleeding edge rendering fast paths. | |
| 153 """ | |
| 154 tag = 'fast_path_gpu_rasterization' | |
| 155 test = smoothness.Smoothness | |
| 156 page_set = 'page_sets/polymer.py' | |
| 157 def CustomizeBrowserOptions(self, options): | |
| 158 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | |
| 159 CustomizeBrowserOptions(options) | |
| 160 silk_flags.CustomizeBrowserOptionsForFastPath(options) | |
| OLD | NEW |