| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 377 |
| 378 def SetExtraBrowserOptions(self, options): | 378 def SetExtraBrowserOptions(self, options): |
| 379 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) | 379 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) |
| 380 | 380 |
| 381 @classmethod | 381 @classmethod |
| 382 def Name(cls): | 382 def Name(cls): |
| 383 return 'smoothness.gpu_rasterization.tough_scrolling_cases' | 383 return 'smoothness.gpu_rasterization.tough_scrolling_cases' |
| 384 | 384 |
| 385 | 385 |
| 386 @benchmark.Disabled('android') # http://crbug.com/531593 | 386 @benchmark.Disabled('android') # http://crbug.com/531593 |
| 387 @benchmark.Disabled('win') # http://crbug.com/652372 |
| 387 class SmoothnessToughImageDecodeCases(_Smoothness): | 388 class SmoothnessToughImageDecodeCases(_Smoothness): |
| 388 page_set = page_sets.ToughImageDecodeCasesPageSet | 389 page_set = page_sets.ToughImageDecodeCasesPageSet |
| 389 | 390 |
| 390 @classmethod | 391 @classmethod |
| 391 def Name(cls): | 392 def Name(cls): |
| 392 return 'smoothness.tough_image_decode_cases' | 393 return 'smoothness.tough_image_decode_cases' |
| 393 | 394 |
| 394 | 395 |
| 395 @benchmark.Disabled('android') # http://crbug.com/610015 | 396 @benchmark.Disabled('android') # http://crbug.com/610015 |
| 396 class SmoothnessImageDecodingCases(_Smoothness): | 397 class SmoothnessImageDecodingCases(_Smoothness): |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 """Measures rendering statistics while scrolling advertisements.""" | 487 """Measures rendering statistics while scrolling advertisements.""" |
| 487 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 488 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 488 | 489 |
| 489 @classmethod | 490 @classmethod |
| 490 def Name(cls): | 491 def Name(cls): |
| 491 return 'smoothness.tough_webgl_ad_cases' | 492 return 'smoothness.tough_webgl_ad_cases' |
| 492 | 493 |
| 493 @classmethod | 494 @classmethod |
| 494 def ShouldDisable(cls, possible_browser): | 495 def ShouldDisable(cls, possible_browser): |
| 495 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 496 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |