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 from measurements import smoothness | 6 from measurements import smoothness |
7 import page_sets | 7 import page_sets |
8 from telemetry import benchmark | 8 from telemetry import benchmark |
9 | 9 |
10 | 10 |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 def CustomizeBrowserOptions(self, options): | 243 def CustomizeBrowserOptions(self, options): |
244 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 244 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
245 # TODO(sugoi): Remove the following line once M41 goes stable | 245 # TODO(sugoi): Remove the following line once M41 goes stable |
246 options.AppendExtraBrowserArgs('--enable-accelerated-jpeg-decoding') | 246 options.AppendExtraBrowserArgs('--enable-accelerated-jpeg-decoding') |
247 | 247 |
248 @classmethod | 248 @classmethod |
249 def Name(cls): | 249 def Name(cls): |
250 return 'smoothness.gpu_rasterization_and_decoding.image_decoding_cases' | 250 return 'smoothness.gpu_rasterization_and_decoding.image_decoding_cases' |
251 | 251 |
252 | 252 |
253 @benchmark.Enabled('android') | 253 @benchmark.Disabled # http://crbug.com/457660 |
254 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): | 254 class SmoothnessPathologicalMobileSites(benchmark.Benchmark): |
255 """Measures task execution statistics while scrolling pathological sites. | 255 """Measures task execution statistics while scrolling pathological sites. |
256 """ | 256 """ |
257 test = smoothness.Smoothness | 257 test = smoothness.Smoothness |
258 page_set = page_sets.PathologicalMobileSitesPageSet | 258 page_set = page_sets.PathologicalMobileSitesPageSet |
259 | 259 |
260 @classmethod | 260 @classmethod |
261 def Name(cls): | 261 def Name(cls): |
262 return 'smoothness.pathological_mobile_sites' | 262 return 'smoothness.pathological_mobile_sites' |
OLD | NEW |