OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import sys | 5 import sys |
6 | 6 |
7 from telemetry import test | 7 from telemetry import test |
8 | 8 |
9 from measurements import smoothness | 9 from measurements import smoothness |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 """Measures rendering statistics while scrolling down the key mobile sites. | 27 """Measures rendering statistics while scrolling down the key mobile sites. |
28 | 28 |
29 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 29 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
30 test = smoothness.Smoothness | 30 test = smoothness.Smoothness |
31 page_set = 'page_sets/key_mobile_sites.json' | 31 page_set = 'page_sets/key_mobile_sites.json' |
32 | 32 |
33 | 33 |
34 class SmoothnessToughAnimationCases(test.Test): | 34 class SmoothnessToughAnimationCases(test.Test): |
35 test = smoothness.Smoothness | 35 test = smoothness.Smoothness |
36 page_set = 'page_sets/tough_animation_cases.json' | 36 page_set = 'page_sets/tough_animation_cases.json' |
| 37 |
| 38 |
| 39 class SmoothnessThreadedRasterizationKeySilkCases(test.Test): |
| 40 """Measures rendering statistics for the key silk cases without GPU |
| 41 rasterization |
| 42 """ |
| 43 tag = 'disable_gpu_rasterization' |
| 44 test = smoothness.Smoothness |
| 45 page_set = 'page_sets/key_silk_cases.json' |
| 46 def CustomizeBrowserOptions(self, options): |
| 47 options.AppendExtraBrowserArgs('--enable-threaded-compositing') |
| 48 options.AppendExtraBrowserArgs('--force-compositing-mode') |
| 49 options.AppendExtraBrowserArgs('--enable-impl-side-painting') |
| 50 options.AppendExtraBrowserArgs('--disable-gpu-rasterization') |
| 51 |
| 52 |
| 53 class SmoothnessGpuRasterizationKeySilkCases(test.Test): |
| 54 """Measures rendering statistics for the key silk cases with GPU rasterization |
| 55 """ |
| 56 tag = 'enable_gpu_rasterization' |
| 57 test = smoothness.Smoothness |
| 58 page_set = 'page_sets/key_silk_cases.json' |
| 59 def CustomizeBrowserOptions(self, options): |
| 60 options.AppendExtraBrowserArgs('--enable-threaded-compositing') |
| 61 options.AppendExtraBrowserArgs('--force-compositing-mode') |
| 62 options.AppendExtraBrowserArgs('--enable-impl-side-painting') |
| 63 options.AppendExtraBrowserArgs('--enable-gpu-rasterization') |
OLD | NEW |