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 |
11 class SmoothnessTop25(benchmark.Benchmark): | 11 class SmoothnessTop25(benchmark.Benchmark): |
12 """Measures rendering statistics while scrolling down the top 25 web pages. | 12 """Measures rendering statistics while scrolling down the top 25 web pages. |
13 | 13 |
14 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 14 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
15 test = smoothness.Smoothness | 15 test = smoothness.Smoothness |
16 page_set = page_sets.Top25PageSet | 16 page_set = page_sets.Top25PageSet |
17 | 17 |
18 | 18 |
19 @benchmark.Disabled('mac') # crbug.com/388877 | 19 @benchmark.Disabled('mac') # crbug.com/388877 |
20 class SmoothnessToughCanvasCases(benchmark.Benchmark): | 20 class SmoothnessToughCanvasCases(benchmark.Benchmark): |
21 test = smoothness.Smoothness | 21 test = smoothness.Smoothness |
22 page_set = page_sets.ToughCanvasCasesPageSet | 22 page_set = page_sets.ToughCanvasCasesPageSet |
23 | 23 |
24 | 24 |
25 @benchmark.Disabled('android') # crbug.com/373812 | 25 @benchmark.Disabled('android', 'mac') # crbug.com/373812 |
26 class SmoothnessToughWebGLCases(benchmark.Benchmark): | 26 class SmoothnessToughWebGLCases(benchmark.Benchmark): |
27 test = smoothness.Smoothness | 27 test = smoothness.Smoothness |
28 page_set = page_sets.ToughWebglCasesPageSet | 28 page_set = page_sets.ToughWebglCasesPageSet |
29 | 29 |
30 | 30 |
31 class SmoothnessMaps(benchmark.Benchmark): | 31 class SmoothnessMaps(benchmark.Benchmark): |
32 test = smoothness.Smoothness | 32 test = smoothness.Smoothness |
33 page_set = page_sets.MapsPageSet | 33 page_set = page_sets.MapsPageSet |
34 | 34 |
35 | 35 |
(...skipping 123 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 |