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 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 """Measures rendering statistics for the key silk cases without GPU | 59 """Measures rendering statistics for the key silk cases without GPU |
60 rasterization using bleeding edge rendering fast paths. | 60 rasterization using bleeding edge rendering fast paths. |
61 """ | 61 """ |
62 tag = 'fast_path' | 62 tag = 'fast_path' |
63 test = smoothness.Smoothness | 63 test = smoothness.Smoothness |
64 page_set = page_sets.KeySilkCasesPageSet | 64 page_set = page_sets.KeySilkCasesPageSet |
65 def CustomizeBrowserOptions(self, options): | 65 def CustomizeBrowserOptions(self, options): |
66 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 66 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
67 | 67 |
68 | 68 |
69 @benchmark.Disabled('j') # crbug.com/363783 | 69 # GPU rasterization does not work on J devices |
| 70 @benchmark.Disabled('j') |
70 class SmoothnessGpuRasterizationTop25(benchmark.Benchmark): | 71 class SmoothnessGpuRasterizationTop25(benchmark.Benchmark): |
71 """Measures rendering statistics for the top 25 with GPU rasterization | 72 """Measures rendering statistics for the top 25 with GPU rasterization |
72 """ | 73 """ |
73 tag = 'gpu_rasterization' | 74 tag = 'gpu_rasterization' |
74 test = smoothness.Smoothness | 75 test = smoothness.Smoothness |
75 page_set = page_sets.Top25PageSet | 76 page_set = page_sets.Top25PageSet |
76 def CustomizeBrowserOptions(self, options): | 77 def CustomizeBrowserOptions(self, options): |
77 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 78 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
78 | 79 |
79 | 80 |
80 @benchmark.Disabled('j') # crbug.com/363783 | 81 # GPU rasterization does not work on J devices |
| 82 @benchmark.Disabled('j') |
81 class SmoothnessGpuRasterizationKeyMobileSites(benchmark.Benchmark): | 83 class SmoothnessGpuRasterizationKeyMobileSites(benchmark.Benchmark): |
82 """Measures rendering statistics for the key mobile sites with GPU | 84 """Measures rendering statistics for the key mobile sites with GPU |
83 rasterization | 85 rasterization |
84 """ | 86 """ |
85 tag = 'gpu_rasterization' | 87 tag = 'gpu_rasterization' |
86 test = smoothness.Smoothness | 88 test = smoothness.Smoothness |
87 page_set = page_sets.KeyMobileSitesPageSet | 89 page_set = page_sets.KeyMobileSitesPageSet |
88 def CustomizeBrowserOptions(self, options): | 90 def CustomizeBrowserOptions(self, options): |
89 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 91 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
90 | 92 |
(...skipping 24 matching lines...) Expand all Loading... |
115 | 117 |
116 @benchmark.Enabled('android') | 118 @benchmark.Enabled('android') |
117 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): | 119 class SmoothnessToughPinchZoomCases(benchmark.Benchmark): |
118 """Measures rendering statistics for pinch-zooming into the tough pinch zoom | 120 """Measures rendering statistics for pinch-zooming into the tough pinch zoom |
119 cases | 121 cases |
120 """ | 122 """ |
121 test = smoothness.Smoothness | 123 test = smoothness.Smoothness |
122 page_set = page_sets.ToughPinchZoomCasesPageSet | 124 page_set = page_sets.ToughPinchZoomCasesPageSet |
123 | 125 |
124 | 126 |
125 @benchmark.Disabled # crbug.com/370725 | |
126 class SmoothnessPolymer(benchmark.Benchmark): | 127 class SmoothnessPolymer(benchmark.Benchmark): |
127 """Measures rendering statistics for Polymer cases. | 128 """Measures rendering statistics for Polymer cases. |
128 """ | 129 """ |
129 test = smoothness.Smoothness | 130 test = smoothness.Smoothness |
130 page_set = page_sets.PolymerPageSet | 131 page_set = page_sets.PolymerPageSet |
131 | 132 |
132 | 133 |
133 @benchmark.Disabled # crbug.com/370725 | |
134 class SmoothnessFastPathPolymer(benchmark.Benchmark): | 134 class SmoothnessFastPathPolymer(benchmark.Benchmark): |
135 """Measures rendering statistics for the Polymer cases without GPU | 135 """Measures rendering statistics for the Polymer cases without GPU |
136 rasterization using bleeding edge rendering fast paths. | 136 rasterization using bleeding edge rendering fast paths. |
137 """ | 137 """ |
138 tag = 'fast_path' | 138 tag = 'fast_path' |
139 test = smoothness.Smoothness | 139 test = smoothness.Smoothness |
140 page_set = page_sets.PolymerPageSet | 140 page_set = page_sets.PolymerPageSet |
141 def CustomizeBrowserOptions(self, options): | 141 def CustomizeBrowserOptions(self, options): |
142 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 142 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
143 | 143 |
144 | 144 # GPU rasterization does not work on J devices |
145 @benchmark.Disabled # crbug.com/370725 | 145 @benchmark.Disabled('j') |
146 class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): | 146 class SmoothnessGpuRasterizationPolymer(benchmark.Benchmark): |
147 """Measures rendering statistics for the Polymer cases with GPU rasterization | 147 """Measures rendering statistics for the Polymer cases with GPU rasterization |
148 """ | 148 """ |
149 tag = 'gpu_rasterization' | 149 tag = 'gpu_rasterization' |
150 test = smoothness.Smoothness | 150 test = smoothness.Smoothness |
151 page_set = page_sets.PolymerPageSet | 151 page_set = page_sets.PolymerPageSet |
152 def CustomizeBrowserOptions(self, options): | 152 def CustomizeBrowserOptions(self, options): |
153 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 153 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
154 | 154 |
155 | 155 |
156 @benchmark.Disabled # crbug.com/370725 | |
157 class SmoothnessFastPathGpuRasterizationPolymer( | 156 class SmoothnessFastPathGpuRasterizationPolymer( |
158 SmoothnessGpuRasterizationPolymer): | 157 SmoothnessGpuRasterizationPolymer): |
159 """Measures rendering statistics for the Polymer cases with GPU rasterization | 158 """Measures rendering statistics for the Polymer cases with GPU rasterization |
160 using bleeding edge rendering fast paths. | 159 using bleeding edge rendering fast paths. |
161 """ | 160 """ |
162 tag = 'fast_path_gpu_rasterization' | 161 tag = 'fast_path_gpu_rasterization' |
163 test = smoothness.Smoothness | 162 test = smoothness.Smoothness |
164 page_set = page_sets.PolymerPageSet | 163 page_set = page_sets.PolymerPageSet |
165 def CustomizeBrowserOptions(self, options): | 164 def CustomizeBrowserOptions(self, options): |
166 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ | 165 super(SmoothnessFastPathGpuRasterizationPolymer, self). \ |
167 CustomizeBrowserOptions(options) | 166 CustomizeBrowserOptions(options) |
168 silk_flags.CustomizeBrowserOptionsForFastPath(options) | 167 silk_flags.CustomizeBrowserOptionsForFastPath(options) |
OLD | NEW |