| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 """Measures rendering statistics for the key silk cases without GPU | 59 """Measures rendering statistics for the key silk cases without GPU |
| 60 rasterization using bleeding edge rendering fast paths. | 60 rasterization using bleeding edge rendering fast paths. |
| 61 """ | 61 """ |
| 62 tag = 'fast_path' | 62 tag = 'fast_path' |
| 63 test = smoothness.Smoothness | 63 test = smoothness.Smoothness |
| 64 page_set = page_sets.KeySilkCasesPageSet | 64 page_set = page_sets.KeySilkCasesPageSet |
| 65 def CustomizeBrowserOptions(self, options): | 65 def CustomizeBrowserOptions(self, options): |
| 66 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 66 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| 67 | 67 |
| 68 | 68 |
| 69 @benchmark.Disabled('android') # crbug.com/363783 | 69 @benchmark.Disabled('j') # crbug.com/363783 |
| 70 class SmoothnessGpuRasterizationTop25(benchmark.Benchmark): | 70 class SmoothnessGpuRasterizationTop25(benchmark.Benchmark): |
| 71 """Measures rendering statistics for the top 25 with GPU rasterization | 71 """Measures rendering statistics for the top 25 with GPU rasterization |
| 72 """ | 72 """ |
| 73 tag = 'gpu_rasterization' | 73 tag = 'gpu_rasterization' |
| 74 test = smoothness.Smoothness | 74 test = smoothness.Smoothness |
| 75 page_set = page_sets.Top25PageSet | 75 page_set = page_sets.Top25PageSet |
| 76 def CustomizeBrowserOptions(self, options): | 76 def CustomizeBrowserOptions(self, options): |
| 77 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 77 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| 78 | 78 |
| 79 | 79 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 """Measures rendering statistics for the Polymer cases with GPU rasterization | 159 """Measures rendering statistics for the Polymer cases with GPU rasterization |
| 160 using bleeding edge rendering fast paths. | 160 using bleeding edge rendering fast paths. |
| 161 """ | 161 """ |
| 162 tag = 'fast_path_gpu_rasterization' | 162 tag = 'fast_path_gpu_rasterization' |
| 163 test = smoothness.Smoothness | 163 test = smoothness.Smoothness |
| 164 page_set = page_sets.PolymerPageSet | 164 page_set = page_sets.PolymerPageSet |
| 165 def CustomizeBrowserOptions(self, options): | 165 def CustomizeBrowserOptions(self, options): |
| 166 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 166 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
| 167 CustomizeBrowserOptions(options) | 167 CustomizeBrowserOptions(options) |
| 168 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 168 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| OLD | NEW |