| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 class SmoothnessSimpleMobilePages(_Smoothness): | 276 class SmoothnessSimpleMobilePages(_Smoothness): |
| 277 """Measures rendering statistics for simple mobile sites page set. | 277 """Measures rendering statistics for simple mobile sites page set. |
| 278 """ | 278 """ |
| 279 page_set = page_sets.SimpleMobileSitesPageSet | 279 page_set = page_sets.SimpleMobileSitesPageSet |
| 280 | 280 |
| 281 @classmethod | 281 @classmethod |
| 282 def Name(cls): | 282 def Name(cls): |
| 283 return 'smoothness.simple_mobile_sites' | 283 return 'smoothness.simple_mobile_sites' |
| 284 | 284 |
| 285 | 285 |
| 286 @benchmark.Enabled('android') | 286 @benchmark.Disabled('all') # http://crbug.com/631015 |
| 287 class SmoothnessToughPinchZoomCases(_Smoothness): | 287 class SmoothnessToughPinchZoomCases(_Smoothness): |
| 288 """Measures rendering statistics for pinch-zooming in the tough pinch zoom | 288 """Measures rendering statistics for pinch-zooming in the tough pinch zoom |
| 289 cases. | 289 cases. |
| 290 """ | 290 """ |
| 291 page_set = page_sets.AndroidToughPinchZoomCasesPageSet | 291 page_set = page_sets.AndroidToughPinchZoomCasesPageSet |
| 292 | 292 |
| 293 @classmethod | 293 @classmethod |
| 294 def Name(cls): | 294 def Name(cls): |
| 295 return 'smoothness.tough_pinch_zoom_cases' | 295 return 'smoothness.tough_pinch_zoom_cases' |
| 296 | 296 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 """Measures rendering statistics while scrolling advertisements.""" | 481 """Measures rendering statistics while scrolling advertisements.""" |
| 482 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 482 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
| 483 | 483 |
| 484 @classmethod | 484 @classmethod |
| 485 def Name(cls): | 485 def Name(cls): |
| 486 return 'smoothness.tough_webgl_ad_cases' | 486 return 'smoothness.tough_webgl_ad_cases' |
| 487 | 487 |
| 488 @classmethod | 488 @classmethod |
| 489 def ShouldDisable(cls, possible_browser): | 489 def ShouldDisable(cls, possible_browser): |
| 490 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 490 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
| OLD | NEW |