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 | 4 |
5 from core import perf_benchmark | 5 from core import perf_benchmark |
6 | 6 |
7 from benchmarks import silk_flags | 7 from benchmarks import silk_flags |
8 from measurements import smoothness | 8 from measurements import smoothness |
9 import page_sets | 9 import page_sets |
10 import page_sets.key_silk_cases | 10 import page_sets.key_silk_cases |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 @benchmark.Enabled('android') | 96 @benchmark.Enabled('android') |
97 class SmoothnessMaps(perf_benchmark.PerfBenchmark): | 97 class SmoothnessMaps(perf_benchmark.PerfBenchmark): |
98 page_set = page_sets.MapsPageSet | 98 page_set = page_sets.MapsPageSet |
99 | 99 |
100 @classmethod | 100 @classmethod |
101 def Name(cls): | 101 def Name(cls): |
102 return 'smoothness.maps' | 102 return 'smoothness.maps' |
103 | 103 |
104 | 104 |
105 @benchmark.Disabled('android', | 105 @benchmark.Disabled('android', |
106 'mac', # crbug.com/567802 | 106 'mac') # crbug.com/567802 |
107 'win') # crbug.com/582472 | |
108 class SmoothnessKeyDesktopMoveCases(_Smoothness): | 107 class SmoothnessKeyDesktopMoveCases(_Smoothness): |
109 page_set = page_sets.KeyDesktopMoveCasesPageSet | 108 page_set = page_sets.KeyDesktopMoveCasesPageSet |
110 | 109 |
111 @classmethod | 110 @classmethod |
112 def Name(cls): | 111 def Name(cls): |
113 return 'smoothness.key_desktop_move_cases' | 112 return 'smoothness.key_desktop_move_cases' |
114 | 113 |
115 | 114 |
116 @benchmark.Enabled('android') | 115 @benchmark.Enabled('android') |
117 class SmoothnessKeyMobileSites(_Smoothness): | 116 class SmoothnessKeyMobileSites(_Smoothness): |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 """Measures rendering statistics while scrolling advertisements.""" | 509 """Measures rendering statistics while scrolling advertisements.""" |
511 page_set = page_sets.ToughWebglAdCasesPageSet | 510 page_set = page_sets.ToughWebglAdCasesPageSet |
512 | 511 |
513 @classmethod | 512 @classmethod |
514 def Name(cls): | 513 def Name(cls): |
515 return 'smoothness.tough_webgl_ad_cases' | 514 return 'smoothness.tough_webgl_ad_cases' |
516 | 515 |
517 @classmethod | 516 @classmethod |
518 def ShouldDisable(cls, possible_browser): | 517 def ShouldDisable(cls, possible_browser): |
519 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 518 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |