| 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 from benchmarks import silk_flags | 5 from benchmarks import silk_flags |
| 6 from measurements import smoothness | 6 from measurements import smoothness |
| 7 from telemetry import test | 7 from telemetry import test |
| 8 | 8 |
| 9 | 9 |
| 10 class SmoothnessTop25(test.Test): | 10 class SmoothnessTop25(test.Test): |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 class SmoothnessGpuRasterizationTop25(test.Test): | 56 class SmoothnessGpuRasterizationTop25(test.Test): |
| 57 """Measures rendering statistics for the top 25 with GPU rasterization | 57 """Measures rendering statistics for the top 25 with GPU rasterization |
| 58 """ | 58 """ |
| 59 tag = 'gpu_rasterization' | 59 tag = 'gpu_rasterization' |
| 60 test = smoothness.Smoothness | 60 test = smoothness.Smoothness |
| 61 page_set = 'page_sets/top_25.json' | 61 page_set = 'page_sets/top_25.json' |
| 62 def CustomizeBrowserOptions(self, options): | 62 def CustomizeBrowserOptions(self, options): |
| 63 options.AppendExtraBrowserArgs('--enable-threaded-compositing') | 63 options.AppendExtraBrowserArgs('--enable-threaded-compositing') |
| 64 options.AppendExtraBrowserArgs('--force-compositing-mode') | 64 options.AppendExtraBrowserArgs('--force-compositing-mode') |
| 65 options.AppendExtraBrowserArgs('--enable-impl-side-painting') | 65 options.AppendExtraBrowserArgs('--enable-impl-side-painting') |
| 66 options.AppendExtraBrowserArgs('--enable-gpu-rasterization') | 66 options.AppendExtraBrowserArgs('--rasterization-site=gpu') |
| 67 | 67 |
| 68 | 68 |
| 69 class SmoothnessGpuRasterizationKeyMobileSites(test.Test): | 69 class SmoothnessGpuRasterizationKeyMobileSites(test.Test): |
| 70 """Measures rendering statistics for the key mobile sites with GPU | 70 """Measures rendering statistics for the key mobile sites with GPU |
| 71 rasterization | 71 rasterization |
| 72 """ | 72 """ |
| 73 tag = 'gpu_rasterization' | 73 tag = 'gpu_rasterization' |
| 74 test = smoothness.Smoothness | 74 test = smoothness.Smoothness |
| 75 page_set = 'page_sets/key_mobile_sites.json' | 75 page_set = 'page_sets/key_mobile_sites.json' |
| 76 def CustomizeBrowserOptions(self, options): | 76 def CustomizeBrowserOptions(self, options): |
| (...skipping 30 matching lines...) Expand all Loading... |
| 107 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 107 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
| 108 | 108 |
| 109 | 109 |
| 110 @test.Enabled('android') | 110 @test.Enabled('android') |
| 111 class SmoothnessToughPinchZoomCases(test.Test): | 111 class SmoothnessToughPinchZoomCases(test.Test): |
| 112 """Measures rendering statistics for pinch-zooming into the tough pinch zoom | 112 """Measures rendering statistics for pinch-zooming into the tough pinch zoom |
| 113 cases | 113 cases |
| 114 """ | 114 """ |
| 115 test = smoothness.Smoothness | 115 test = smoothness.Smoothness |
| 116 page_set = 'page_sets/tough_pinch_zoom_cases.json' | 116 page_set = 'page_sets/tough_pinch_zoom_cases.json' |
| OLD | NEW |