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 core import perf_benchmark | 5 from core import perf_benchmark |
6 | 6 |
7 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
8 from measurements import smoothness | 8 from measurements import smoothness |
9 import page_sets | 9 import page_sets |
10 import page_sets.key_silk_cases | 10 import page_sets.key_silk_cases |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 page_set = page_sets.KeyMobileSitesSmoothPageSet | 180 page_set = page_sets.KeyMobileSitesSmoothPageSet |
181 | 181 |
182 def SetExtraBrowserOptions(self, options): | 182 def SetExtraBrowserOptions(self, options): |
183 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 183 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
184 | 184 |
185 @classmethod | 185 @classmethod |
186 def Name(cls): | 186 def Name(cls): |
187 return 'smoothness.gpu_rasterization.key_mobile_sites_smooth' | 187 return 'smoothness.gpu_rasterization.key_mobile_sites_smooth' |
188 | 188 |
189 | 189 |
190 @benchmark.Disabled('yosemite') # crbug.com/581219 | |
191 class SmoothnessGpuRasterizationToughPathRenderingCases(_Smoothness): | 190 class SmoothnessGpuRasterizationToughPathRenderingCases(_Smoothness): |
192 """Tests a selection of pages with SVG and 2D canvas paths with GPU | 191 """Tests a selection of pages with SVG and 2D canvas paths with GPU |
193 rasterization. | 192 rasterization. |
194 """ | 193 """ |
195 tag = 'gpu_rasterization' | 194 tag = 'gpu_rasterization' |
196 page_set = page_sets.ToughPathRenderingCasesPageSet | 195 page_set = page_sets.ToughPathRenderingCasesPageSet |
197 | 196 |
198 def SetExtraBrowserOptions(self, options): | 197 def SetExtraBrowserOptions(self, options): |
199 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 198 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
200 | 199 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 """Measures rendering statistics while scrolling advertisements.""" | 507 """Measures rendering statistics while scrolling advertisements.""" |
509 page_set = page_sets.ToughWebglAdCasesPageSet | 508 page_set = page_sets.ToughWebglAdCasesPageSet |
510 | 509 |
511 @classmethod | 510 @classmethod |
512 def Name(cls): | 511 def Name(cls): |
513 return 'smoothness.tough_webgl_ad_cases' | 512 return 'smoothness.tough_webgl_ad_cases' |
514 | 513 |
515 @classmethod | 514 @classmethod |
516 def ShouldDisable(cls, possible_browser): | 515 def ShouldDisable(cls, possible_browser): |
517 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 516 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |