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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 @classmethod | 146 @classmethod |
147 def Name(cls): | 147 def Name(cls): |
148 return 'smoothness.key_desktop_move_cases' | 148 return 'smoothness.key_desktop_move_cases' |
149 | 149 |
150 @classmethod | 150 @classmethod |
151 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 151 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
152 return (possible_browser.browser_type == 'reference' and | 152 return (possible_browser.browser_type == 'reference' and |
153 possible_browser.platform.GetOSName() == 'win') | 153 possible_browser.platform.GetOSName() == 'win') |
154 | 154 |
155 | 155 |
156 @benchmark.Enabled('android') | 156 @benchmark.Disabled('all') # crbug.com/702194 |
| 157 #@benchmark.Enabled('android') |
157 @benchmark.Owner(emails=['vmiura@chromium.org', 'tdresser@chromium.org']) | 158 @benchmark.Owner(emails=['vmiura@chromium.org', 'tdresser@chromium.org']) |
158 class SmoothnessKeyMobileSites(_Smoothness): | 159 class SmoothnessKeyMobileSites(_Smoothness): |
159 """Measures rendering statistics while scrolling down the key mobile sites. | 160 """Measures rendering statistics while scrolling down the key mobile sites. |
160 | 161 |
161 http://www.chromium.org/developers/design-documents/rendering-benchmarks | 162 http://www.chromium.org/developers/design-documents/rendering-benchmarks |
162 """ | 163 """ |
163 page_set = page_sets.KeyMobileSitesSmoothPageSet | 164 page_set = page_sets.KeyMobileSitesSmoothPageSet |
164 | 165 |
165 @classmethod | 166 @classmethod |
166 def Name(cls): | 167 def Name(cls): |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 @classmethod | 270 @classmethod |
270 def Name(cls): | 271 def Name(cls): |
271 return 'smoothness.gpu_rasterization.tough_filters_cases' | 272 return 'smoothness.gpu_rasterization.tough_filters_cases' |
272 | 273 |
273 @classmethod | 274 @classmethod |
274 def ShouldDisable(cls, possible_browser): # http://crbug.com/616540 | 275 def ShouldDisable(cls, possible_browser): # http://crbug.com/616540 |
275 return (cls.IsSvelte(possible_browser) and | 276 return (cls.IsSvelte(possible_browser) and |
276 possible_browser.browser_type == 'reference') | 277 possible_browser.browser_type == 'reference') |
277 | 278 |
278 | 279 |
279 @benchmark.Enabled('android') | 280 @benchmark.Disabled('all') # crbug.com/702194 |
| 281 #@benchmark.Enabled('android') |
280 @benchmark.Owner(emails=['tdresser@chromium.org', 'rbyers@chromium.org']) | 282 @benchmark.Owner(emails=['tdresser@chromium.org', 'rbyers@chromium.org']) |
281 class SmoothnessSyncScrollKeyMobileSites(_Smoothness): | 283 class SmoothnessSyncScrollKeyMobileSites(_Smoothness): |
282 """Measures rendering statistics for the key mobile sites with synchronous | 284 """Measures rendering statistics for the key mobile sites with synchronous |
283 (main thread) scrolling. | 285 (main thread) scrolling. |
284 """ | 286 """ |
285 tag = 'sync_scroll' | 287 tag = 'sync_scroll' |
286 page_set = page_sets.KeyMobileSitesSmoothPageSet | 288 page_set = page_sets.KeyMobileSitesSmoothPageSet |
287 | 289 |
288 def SetExtraBrowserOptions(self, options): | 290 def SetExtraBrowserOptions(self, options): |
289 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 291 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 """Measures rendering statistics while scrolling advertisements.""" | 537 """Measures rendering statistics while scrolling advertisements.""" |
536 page_set = page_sets.SyntheticToughWebglAdCasesPageSet | 538 page_set = page_sets.SyntheticToughWebglAdCasesPageSet |
537 | 539 |
538 @classmethod | 540 @classmethod |
539 def Name(cls): | 541 def Name(cls): |
540 return 'smoothness.tough_webgl_ad_cases' | 542 return 'smoothness.tough_webgl_ad_cases' |
541 | 543 |
542 @classmethod | 544 @classmethod |
543 def ShouldDisable(cls, possible_browser): | 545 def ShouldDisable(cls, possible_browser): |
544 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 | 546 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 |
OLD | NEW |