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 |
190 class SmoothnessGpuRasterizationToughPathRenderingCases(_Smoothness): | 191 class SmoothnessGpuRasterizationToughPathRenderingCases(_Smoothness): |
191 """Tests a selection of pages with SVG and 2D canvas paths with GPU | 192 """Tests a selection of pages with SVG and 2D canvas paths with GPU |
192 rasterization. | 193 rasterization. |
193 """ | 194 """ |
194 tag = 'gpu_rasterization' | 195 tag = 'gpu_rasterization' |
195 page_set = page_sets.ToughPathRenderingCasesPageSet | 196 page_set = page_sets.ToughPathRenderingCasesPageSet |
196 | 197 |
197 def SetExtraBrowserOptions(self, options): | 198 def SetExtraBrowserOptions(self, options): |
198 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 199 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
199 | 200 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 """Measures rendering statistics while scrolling advertisements.""" | 508 """Measures rendering statistics while scrolling advertisements.""" |
508 page_set = page_sets.ToughWebglAdCasesPageSet | 509 page_set = page_sets.ToughWebglAdCasesPageSet |
509 | 510 |
510 @classmethod | 511 @classmethod |
511 def Name(cls): | 512 def Name(cls): |
512 return 'smoothness.tough_webgl_ad_cases' | 513 return 'smoothness.tough_webgl_ad_cases' |
513 | 514 |
514 @classmethod | 515 @classmethod |
515 def ShouldDisable(cls, possible_browser): | 516 def ShouldDisable(cls, possible_browser): |
516 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 517 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |