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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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.Enabled('android') |
287 @benchmark.Disabled('Nexus 5X') | |
nednguyen
2016/07/22 19:02:14
This would be nice but we don't support this synta
eyaich
2016/07/22 19:10:54
Ah yes, well worth a try! Correct syntax done.
| |
287 class SmoothnessToughPinchZoomCases(_Smoothness): | 288 class SmoothnessToughPinchZoomCases(_Smoothness): |
288 """Measures rendering statistics for pinch-zooming in the tough pinch zoom | 289 """Measures rendering statistics for pinch-zooming in the tough pinch zoom |
289 cases. | 290 cases. |
290 """ | 291 """ |
291 page_set = page_sets.AndroidToughPinchZoomCasesPageSet | 292 page_set = page_sets.AndroidToughPinchZoomCasesPageSet |
292 | 293 |
293 @classmethod | 294 @classmethod |
294 def Name(cls): | 295 def Name(cls): |
295 return 'smoothness.tough_pinch_zoom_cases' | 296 return 'smoothness.tough_pinch_zoom_cases' |
296 | 297 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
477 """Measures rendering statistics while scrolling advertisements.""" | 478 """Measures rendering statistics while scrolling advertisements.""" |
478 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 479 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
479 | 480 |
480 @classmethod | 481 @classmethod |
481 def Name(cls): | 482 def Name(cls): |
482 return 'smoothness.tough_webgl_ad_cases' | 483 return 'smoothness.tough_webgl_ad_cases' |
483 | 484 |
484 @classmethod | 485 @classmethod |
485 def ShouldDisable(cls, possible_browser): | 486 def ShouldDisable(cls, possible_browser): |
486 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 487 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |