Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: tools/perf/benchmarks/smoothness.py

Issue 1836973002: Disabled more reference builds on the Nexus5X due to the TimeoutException error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/benchmarks/service_worker.py ('k') | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 30 matching lines...) Expand all
41 """Measures rendering statistics while scrolling down the top 25 web pages. 41 """Measures rendering statistics while scrolling down the top 25 web pages.
42 42
43 http://www.chromium.org/developers/design-documents/rendering-benchmarks 43 http://www.chromium.org/developers/design-documents/rendering-benchmarks
44 """ 44 """
45 page_set = page_sets.Top25SmoothPageSet 45 page_set = page_sets.Top25SmoothPageSet
46 46
47 @classmethod 47 @classmethod
48 def Name(cls): 48 def Name(cls):
49 return 'smoothness.top_25_smooth' 49 return 'smoothness.top_25_smooth'
50 50
51 @classmethod
52 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
53 return (possible_browser.browser_type == 'reference' and
54 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
55
51 56
52 class SmoothnessToughFiltersCases(_Smoothness): 57 class SmoothnessToughFiltersCases(_Smoothness):
53 """Measures frame rate and a variety of other statistics. 58 """Measures frame rate and a variety of other statistics.
54 59
55 Uses a selection of pages making use of SVG and CSS Filter Effects. 60 Uses a selection of pages making use of SVG and CSS Filter Effects.
56 """ 61 """
57 page_set = page_sets.ToughFiltersCasesPageSet 62 page_set = page_sets.ToughFiltersCasesPageSet
58 63
59 @classmethod 64 @classmethod
60 def Name(cls): 65 def Name(cls):
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 """Measures rendering statistics while scrolling down the key mobile sites. 126 """Measures rendering statistics while scrolling down the key mobile sites.
122 127
123 http://www.chromium.org/developers/design-documents/rendering-benchmarks 128 http://www.chromium.org/developers/design-documents/rendering-benchmarks
124 """ 129 """
125 page_set = page_sets.KeyMobileSitesSmoothPageSet 130 page_set = page_sets.KeyMobileSitesSmoothPageSet
126 131
127 @classmethod 132 @classmethod
128 def Name(cls): 133 def Name(cls):
129 return 'smoothness.key_mobile_sites_smooth' 134 return 'smoothness.key_mobile_sites_smooth'
130 135
136 @classmethod
137 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
138 return (possible_browser.browser_type == 'reference' and
139 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
131 140
132 @benchmark.Disabled('android') # crbug.com/589580 141 @benchmark.Disabled('android') # crbug.com/589580
133 @benchmark.Disabled('android-reference') # crbug.com/588786 142 @benchmark.Disabled('android-reference') # crbug.com/588786
134 @benchmark.Disabled('mac') # crbug.com/563615 143 @benchmark.Disabled('mac') # crbug.com/563615
135 class SmoothnessToughAnimationCases(_Smoothness): 144 class SmoothnessToughAnimationCases(_Smoothness):
136 test = smoothness.SmoothnessWithRestart 145 test = smoothness.SmoothnessWithRestart
137 page_set = page_sets.ToughAnimationCasesPageSet 146 page_set = page_sets.ToughAnimationCasesPageSet
138 147
139 @classmethod 148 @classmethod
140 def Name(cls): 149 def Name(cls):
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 tag = 'gpu_rasterization' 184 tag = 'gpu_rasterization'
176 page_set = page_sets.Top25SmoothPageSet 185 page_set = page_sets.Top25SmoothPageSet
177 186
178 def SetExtraBrowserOptions(self, options): 187 def SetExtraBrowserOptions(self, options):
179 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 188 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
180 189
181 @classmethod 190 @classmethod
182 def Name(cls): 191 def Name(cls):
183 return 'smoothness.gpu_rasterization.top_25_smooth' 192 return 'smoothness.gpu_rasterization.top_25_smooth'
184 193
194 @classmethod
195 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
196 return (possible_browser.browser_type == 'reference' and
197 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
198
185 199
186 # crbug.com/589580 (This test should only be enabled on Android after fix.) 200 # crbug.com/589580 (This test should only be enabled on Android after fix.)
187 @benchmark.Disabled('all') 201 @benchmark.Disabled('all')
188 class SmoothnessGpuRasterizationKeyMobileSites(_Smoothness): 202 class SmoothnessGpuRasterizationKeyMobileSites(_Smoothness):
189 """Measures rendering statistics for the key mobile sites with GPU 203 """Measures rendering statistics for the key mobile sites with GPU
190 rasterization. 204 rasterization.
191 """ 205 """
192 tag = 'gpu_rasterization' 206 tag = 'gpu_rasterization'
193 page_set = page_sets.KeyMobileSitesSmoothPageSet 207 page_set = page_sets.KeyMobileSitesSmoothPageSet
194 208
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 tag = 'sync_scroll' 252 tag = 'sync_scroll'
239 page_set = page_sets.KeyMobileSitesSmoothPageSet 253 page_set = page_sets.KeyMobileSitesSmoothPageSet
240 254
241 def SetExtraBrowserOptions(self, options): 255 def SetExtraBrowserOptions(self, options):
242 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) 256 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options)
243 257
244 @classmethod 258 @classmethod
245 def Name(cls): 259 def Name(cls):
246 return 'smoothness.sync_scroll.key_mobile_sites_smooth' 260 return 'smoothness.sync_scroll.key_mobile_sites_smooth'
247 261
262 @classmethod
263 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
264 return (possible_browser.browser_type == 'reference' and
265 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
266
248 267
249 @benchmark.Enabled('android') 268 @benchmark.Enabled('android')
250 class SmoothnessSimpleMobilePages(_Smoothness): 269 class SmoothnessSimpleMobilePages(_Smoothness):
251 """Measures rendering statistics for simple mobile sites page set. 270 """Measures rendering statistics for simple mobile sites page set.
252 """ 271 """
253 page_set = page_sets.SimpleMobileSitesPageSet 272 page_set = page_sets.SimpleMobileSitesPageSet
254 273
255 @classmethod 274 @classmethod
256 def Name(cls): 275 def Name(cls):
257 return 'smoothness.simple_mobile_sites' 276 return 'smoothness.simple_mobile_sites'
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 """Measures rendering statistics while scrolling advertisements.""" 545 """Measures rendering statistics while scrolling advertisements."""
527 page_set = page_sets.SyntheticToughWebglAdCasesPageSet 546 page_set = page_sets.SyntheticToughWebglAdCasesPageSet
528 547
529 @classmethod 548 @classmethod
530 def Name(cls): 549 def Name(cls):
531 return 'smoothness.tough_webgl_ad_cases' 550 return 'smoothness.tough_webgl_ad_cases'
532 551
533 @classmethod 552 @classmethod
534 def ShouldDisable(cls, possible_browser): 553 def ShouldDisable(cls, possible_browser):
535 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 554 return cls.IsSvelte(possible_browser) # http://crbug.com/574485
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/service_worker.py ('k') | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698