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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 """Measures rendering statistics for the Polymer cases with GPU rasterization | 167 """Measures rendering statistics for the Polymer cases with GPU rasterization |
168 using bleeding edge rendering fast paths. | 168 using bleeding edge rendering fast paths. |
169 """ | 169 """ |
170 tag = 'fast_path_gpu_rasterization' | 170 tag = 'fast_path_gpu_rasterization' |
171 test = smoothness.Smoothness | 171 test = smoothness.Smoothness |
172 page_set = page_sets.PolymerPageSet | 172 page_set = page_sets.PolymerPageSet |
173 def CustomizeBrowserOptions(self, options): | 173 def CustomizeBrowserOptions(self, options): |
174 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 174 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
175 CustomizeBrowserOptions(options) | 175 CustomizeBrowserOptions(options) |
176 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 176 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| 177 |
| 178 class SmoothnessPerfWeek(benchmark.Benchmark): |
| 179 """Measures rendering statistics for big animation benchmarks |
| 180 """ |
| 181 tag = 'perf_week' |
| 182 test = smoothness.Smoothness |
| 183 page_set = page_sets.PerfWeekPageSet |
| 184 def CustomizeBrowserOptions(self, options): |
| 185 options.AppendExtraBrowserArgs( |
| 186 ['--enable-experimental-web-platform-features']) |
OLD | NEW |