| 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 class SmoothnessToughFiltersCases(benchmark.Benchmark): | 19 class SmoothnessToughFiltersCases(benchmark.Benchmark): |
| 20 test = smoothness.Smoothness | 20 test = smoothness.Smoothness |
| 21 page_set = page_sets.ToughFiltersCasesPageSet | 21 page_set = page_sets.ToughFiltersCasesPageSet |
| 22 | 22 |
| 23 | 23 |
| 24 @benchmark.Disabled('mac', 'win') # crbug.com/388877, crbug.com/396127 | 24 @benchmark.Disabled('mac', 'win') # crbug.com/388877, crbug.com/396127 |
| 25 class SmoothnessToughCanvasCases(benchmark.Benchmark): | 25 class SmoothnessToughCanvasCases(benchmark.Benchmark): |
| 26 test = smoothness.Smoothness | 26 test = smoothness.Smoothness |
| 27 page_set = page_sets.ToughCanvasCasesPageSet | 27 page_set = page_sets.ToughCanvasCasesPageSet |
| 28 | 28 |
| 29 | 29 |
| 30 @benchmark.Disabled('android', 'mac') # crbug.com/373812 | 30 @benchmark.Disabled('android', 'mac', 'win') # crbug.com/373812 |
| 31 class SmoothnessToughWebGLCases(benchmark.Benchmark): | 31 class SmoothnessToughWebGLCases(benchmark.Benchmark): |
| 32 test = smoothness.Smoothness | 32 test = smoothness.Smoothness |
| 33 page_set = page_sets.ToughWebglCasesPageSet | 33 page_set = page_sets.ToughWebglCasesPageSet |
| 34 | 34 |
| 35 | 35 |
| 36 class SmoothnessMaps(benchmark.Benchmark): | 36 class SmoothnessMaps(benchmark.Benchmark): |
| 37 test = smoothness.Smoothness | 37 test = smoothness.Smoothness |
| 38 page_set = page_sets.MapsPageSet | 38 page_set = page_sets.MapsPageSet |
| 39 | 39 |
| 40 | 40 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 """Measures rendering statistics for the Polymer cases with GPU rasterization | 175 """Measures rendering statistics for the Polymer cases with GPU rasterization |
| 176 using bleeding edge rendering fast paths. | 176 using bleeding edge rendering fast paths. |
| 177 """ | 177 """ |
| 178 tag = 'fast_path_gpu_rasterization' | 178 tag = 'fast_path_gpu_rasterization' |
| 179 test = smoothness.Smoothness | 179 test = smoothness.Smoothness |
| 180 page_set = page_sets.PolymerPageSet | 180 page_set = page_sets.PolymerPageSet |
| 181 def CustomizeBrowserOptions(self, options): | 181 def CustomizeBrowserOptions(self, options): |
| 182 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 182 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
| 183 CustomizeBrowserOptions(options) | 183 CustomizeBrowserOptions(options) |
| 184 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 184 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| OLD | NEW |