| 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 import multiprocessing | 4 import multiprocessing |
| 5 | 5 |
| 6 from core import perf_benchmark | 6 from core import perf_benchmark |
| 7 | 7 |
| 8 from benchmarks import silk_flags | 8 from benchmarks import silk_flags |
| 9 from measurements import smoothness | 9 from measurements import smoothness |
| 10 import page_sets | 10 import page_sets |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 344 |
| 345 @classmethod | 345 @classmethod |
| 346 def Name(cls): | 346 def Name(cls): |
| 347 return 'smoothness.gpu_rasterization.tough_pinch_zoom_cases' | 347 return 'smoothness.gpu_rasterization.tough_pinch_zoom_cases' |
| 348 | 348 |
| 349 @classmethod | 349 @classmethod |
| 350 def ShouldDisable(cls, possible_browser): | 350 def ShouldDisable(cls, possible_browser): |
| 351 return cls.IsSvelte(possible_browser) # http://crbug.com/564008 | 351 return cls.IsSvelte(possible_browser) # http://crbug.com/564008 |
| 352 | 352 |
| 353 | 353 |
| 354 @benchmark.Enabled('android') | 354 # @benchmark.Enabled('android') |
| 355 @benchmark.Disabled() # crbug.com/687704 |
| 355 class SmoothnessGpuRasterizationPolymer(_Smoothness): | 356 class SmoothnessGpuRasterizationPolymer(_Smoothness): |
| 356 """Measures rendering statistics for the Polymer cases with GPU rasterization. | 357 """Measures rendering statistics for the Polymer cases with GPU rasterization. |
| 357 """ | 358 """ |
| 358 tag = 'gpu_rasterization' | 359 tag = 'gpu_rasterization' |
| 359 page_set = page_sets.PolymerPageSet | 360 page_set = page_sets.PolymerPageSet |
| 360 | 361 |
| 361 def SetExtraBrowserOptions(self, options): | 362 def SetExtraBrowserOptions(self, options): |
| 362 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 363 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| 363 | 364 |
| 364 @classmethod | 365 @classmethod |
| (...skipping 142 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.SyntheticToughWebglAdCasesPageSet | 509 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 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 |