| 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 |
| 6 import page_sets |
| 7 from measurements import smoothness |
| 5 from telemetry import benchmark | 8 from telemetry import benchmark |
| 6 | 9 |
| 7 from benchmarks import silk_flags | |
| 8 from measurements import smoothness | |
| 9 import page_sets | |
| 10 | |
| 11 | 10 |
| 12 class SmoothnessTop25(benchmark.Benchmark): | 11 class SmoothnessTop25(benchmark.Benchmark): |
| 13 """Measures rendering statistics while scrolling down the top 25 web pages. | 12 """Measures rendering statistics while scrolling down the top 25 web pages. |
| 14 | 13 |
| 15 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 14 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 16 test = smoothness.Smoothness | 15 test = smoothness.Smoothness |
| 17 page_set = page_sets.Top25PageSet | 16 page_set = page_sets.Top25PageSet |
| 18 | 17 |
| 19 | 18 |
| 20 @benchmark.Disabled('mac') # crbug.com/388877 | 19 @benchmark.Disabled('mac') # crbug.com/388877 |
| 21 class SmoothnessToughCanvasCases(benchmark.Benchmark): | 20 class SmoothnessToughCanvasCases(benchmark.Benchmark): |
| 22 test = smoothness.Smoothness | 21 test = smoothness.Smoothness |
| 23 page_set = page_sets.ToughCanvasCasesPageSet | 22 page_set = page_sets.ToughCanvasCasesPageSet |
| 24 | 23 |
| 25 | 24 |
| 26 @benchmark.Disabled # crbug.com/373812 | 25 @benchmark.Disabled # crbug.com/373812 |
| 27 class SmoothnessToughWebGLCases(benchmark.Benchmark): | 26 class SmoothnessToughWebGLCases(benchmark.Benchmark): |
| 28 test = smoothness.Smoothness | 27 test = smoothness.Smoothness |
| 29 page_set = page_sets.ToughWebglCasesPageSet | 28 page_set = page_sets.ToughWebglCasesPageSet |
| 30 | 29 |
| 31 | 30 |
| 31 @benchmark.Disabled |
| 32 class SmoothnessMaps(benchmark.Benchmark): | 32 class SmoothnessMaps(benchmark.Benchmark): |
| 33 test = smoothness.Smoothness | 33 test = smoothness.Smoothness |
| 34 page_set = page_sets.MapsPageSet | 34 page_set = page_sets.MapsPageSet |
| 35 | 35 |
| 36 | 36 |
| 37 class SmoothnessKeyMobileSites(benchmark.Benchmark): | 37 class SmoothnessKeyMobileSites(benchmark.Benchmark): |
| 38 """Measures rendering statistics while scrolling down the key mobile sites. | 38 """Measures rendering statistics while scrolling down the key mobile sites. |
| 39 | 39 |
| 40 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 40 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 41 test = smoothness.Smoothness | 41 test = smoothness.Smoothness |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 """Measures rendering statistics for the Polymer cases with GPU rasterization | 160 """Measures rendering statistics for the Polymer cases with GPU rasterization |
| 161 using bleeding edge rendering fast paths. | 161 using bleeding edge rendering fast paths. |
| 162 """ | 162 """ |
| 163 tag = 'fast_path_gpu_rasterization' | 163 tag = 'fast_path_gpu_rasterization' |
| 164 test = smoothness.Smoothness | 164 test = smoothness.Smoothness |
| 165 page_set = page_sets.PolymerPageSet | 165 page_set = page_sets.PolymerPageSet |
| 166 def CustomizeBrowserOptions(self, options): | 166 def CustomizeBrowserOptions(self, options): |
| 167 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 167 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
| 168 CustomizeBrowserOptions(options) | 168 CustomizeBrowserOptions(options) |
| 169 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 169 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| OLD | NEW |