| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 @benchmark.Enabled('android') | 123 @benchmark.Enabled('android') |
| 124 class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): | 124 class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): |
| 125 """Measures rendering statistics for the Polymer cases with GPU rasterization | 125 """Measures rendering statistics for the Polymer cases with GPU rasterization |
| 126 """ | 126 """ |
| 127 tag = 'gpu_rasterization' | 127 tag = 'gpu_rasterization' |
| 128 test = smoothness.Smoothness | 128 test = smoothness.Smoothness |
| 129 page_set = page_sets.PolymerPageSet | 129 page_set = page_sets.PolymerPageSet |
| 130 def CustomizeBrowserOptions(self, options): | 130 def CustomizeBrowserOptions(self, options): |
| 131 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 131 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| 132 |
| 133 class SmoothnessToughFastScrollingCases(benchmark.Benchmark): |
| 134 test = smoothness.Smoothness |
| 135 page_set = page_sets.ToughScrollingCasesPageSet |
| 136 options = {'page_label_filter' : 'fastscrolling'} |
| OLD | NEW |