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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 Measures frame rate and a variety of other statistics. """ | 77 Measures frame rate and a variety of other statistics. """ |
78 page_set = page_sets.ToughPathRenderingCasesPageSet | 78 page_set = page_sets.ToughPathRenderingCasesPageSet |
79 | 79 |
80 @classmethod | 80 @classmethod |
81 def Name(cls): | 81 def Name(cls): |
82 return 'smoothness.tough_path_rendering_cases' | 82 return 'smoothness.tough_path_rendering_cases' |
83 | 83 |
84 | 84 |
85 @benchmark.Disabled('android') # crbug.com/526901 | 85 @benchmark.Disabled('android') # crbug.com/526901 |
| 86 @benchmark.Disabled('win', 'mac') # crbug.com/623105 |
86 class SmoothnessToughCanvasCases(_Smoothness): | 87 class SmoothnessToughCanvasCases(_Smoothness): |
87 """Measures frame rate and a variety of other statistics. | 88 """Measures frame rate and a variety of other statistics. |
88 | 89 |
89 Uses a selection of pages making use of the 2D Canvas API. | 90 Uses a selection of pages making use of the 2D Canvas API. |
90 """ | 91 """ |
91 page_set = page_sets.ToughCanvasCasesPageSet | 92 page_set = page_sets.ToughCanvasCasesPageSet |
92 | 93 |
93 def SetExtraBrowserOptions(self, options): | 94 def SetExtraBrowserOptions(self, options): |
94 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') | 95 options.AppendExtraBrowserArgs('--enable-experimental-canvas-features') |
95 | 96 |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 """Measures rendering statistics while scrolling advertisements.""" | 471 """Measures rendering statistics while scrolling advertisements.""" |
471 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 472 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
472 | 473 |
473 @classmethod | 474 @classmethod |
474 def Name(cls): | 475 def Name(cls): |
475 return 'smoothness.tough_webgl_ad_cases' | 476 return 'smoothness.tough_webgl_ad_cases' |
476 | 477 |
477 @classmethod | 478 @classmethod |
478 def ShouldDisable(cls, possible_browser): | 479 def ShouldDisable(cls, possible_browser): |
479 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 480 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |