| 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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 | 440 |
| 441 | 441 |
| 442 class SmoothnessToughTextureUploadCases(_Smoothness): | 442 class SmoothnessToughTextureUploadCases(_Smoothness): |
| 443 page_set = page_sets.ToughTextureUploadCasesPageSet | 443 page_set = page_sets.ToughTextureUploadCasesPageSet |
| 444 | 444 |
| 445 @classmethod | 445 @classmethod |
| 446 def Name(cls): | 446 def Name(cls): |
| 447 return 'smoothness.tough_texture_upload_cases' | 447 return 'smoothness.tough_texture_upload_cases' |
| 448 | 448 |
| 449 | 449 |
| 450 # http://crbug.com/647413 |
| 451 @benchmark.Disabled('android') |
| 450 class SmoothnessToughAdCases(_Smoothness): | 452 class SmoothnessToughAdCases(_Smoothness): |
| 451 """Measures rendering statistics while displaying advertisements.""" | 453 """Measures rendering statistics while displaying advertisements.""" |
| 452 page_set = page_sets.SyntheticToughAdCasesPageSet | 454 page_set = page_sets.SyntheticToughAdCasesPageSet |
| 453 | 455 |
| 454 @classmethod | 456 @classmethod |
| 455 def Name(cls): | 457 def Name(cls): |
| 456 return 'smoothness.tough_ad_cases' | 458 return 'smoothness.tough_ad_cases' |
| 457 | 459 |
| 458 @classmethod | 460 @classmethod |
| 459 def ShouldDisable(cls, possible_browser): | 461 def ShouldDisable(cls, possible_browser): |
| (...skipping 26 matching lines...) Expand all Loading... |
| 486 """Measures rendering statistics while scrolling advertisements.""" | 488 """Measures rendering statistics while scrolling advertisements.""" |
| 487 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 489 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 488 | 490 |
| 489 @classmethod | 491 @classmethod |
| 490 def Name(cls): | 492 def Name(cls): |
| 491 return 'smoothness.tough_webgl_ad_cases' | 493 return 'smoothness.tough_webgl_ad_cases' |
| 492 | 494 |
| 493 @classmethod | 495 @classmethod |
| 494 def ShouldDisable(cls, possible_browser): | 496 def ShouldDisable(cls, possible_browser): |
| 495 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 497 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |