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 telemetry import benchmark | 5 from telemetry import benchmark |
6 | 6 |
7 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
8 from benchmarks import webgl_expectations | 8 from benchmarks import webgl_expectations |
9 from measurements import smoothness | 9 from measurements import smoothness |
10 import page_sets | 10 import page_sets |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 Uses a selection of pages making use of the 2D Canvas API. | 44 Uses a selection of pages making use of the 2D Canvas API. |
45 """ | 45 """ |
46 test = smoothness.Smoothness | 46 test = smoothness.Smoothness |
47 page_set = page_sets.ToughCanvasCasesPageSet | 47 page_set = page_sets.ToughCanvasCasesPageSet |
48 | 48 |
49 @classmethod | 49 @classmethod |
50 def Name(cls): | 50 def Name(cls): |
51 return 'smoothness.tough_canvas_cases' | 51 return 'smoothness.tough_canvas_cases' |
52 | 52 |
53 | 53 |
54 @benchmark.Disabled('android', 'mac') # crbug.com/373812 | 54 @benchmark.Disabled('android') # crbug.com/373812 |
55 class SmoothnessToughWebGLCases(benchmark.Benchmark): | 55 class SmoothnessToughWebGLCases(benchmark.Benchmark): |
56 test = smoothness.Smoothness | 56 test = smoothness.Smoothness |
57 page_set = page_sets.ToughWebglCasesPageSet | 57 page_set = page_sets.ToughWebglCasesPageSet |
58 | 58 |
59 @classmethod | 59 @classmethod |
60 def CreateExpectations(cls): | 60 def CreateExpectations(cls): |
61 return webgl_expectations.WebGLExpectations() | 61 return webgl_expectations.WebGLExpectations() |
62 | 62 |
63 @classmethod | 63 @classmethod |
64 def Name(cls): | 64 def Name(cls): |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 tag = 'sync_scroll' | 316 tag = 'sync_scroll' |
317 test = smoothness.Smoothness | 317 test = smoothness.Smoothness |
318 page_set = page_sets.PathologicalMobileSitesPageSet | 318 page_set = page_sets.PathologicalMobileSitesPageSet |
319 | 319 |
320 def CustomizeBrowserOptions(self, options): | 320 def CustomizeBrowserOptions(self, options): |
321 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 321 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
322 | 322 |
323 @classmethod | 323 @classmethod |
324 def Name(cls): | 324 def Name(cls): |
325 return 'smoothness.sync_scroll.pathological_mobile_sites' | 325 return 'smoothness.sync_scroll.pathological_mobile_sites' |
OLD | NEW |