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