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