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

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

Issue 2520903003: Disable smoothness.gpu_rasterization.tough_scrolling_cases everywhere (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 del is_first_result # unused 369 del is_first_result # unused
370 # Only keep 'mean_pixels_approximated' and 'mean_pixels_checkerboarded' 370 # Only keep 'mean_pixels_approximated' and 'mean_pixels_checkerboarded'
371 # metrics. (crbug.com/529331) 371 # metrics. (crbug.com/529331)
372 return value.name in ('mean_pixels_approximated', 372 return value.name in ('mean_pixels_approximated',
373 'mean_pixels_checkerboarded') 373 'mean_pixels_checkerboarded')
374 374
375 @classmethod 375 @classmethod
376 def Name(cls): 376 def Name(cls):
377 return 'smoothness.tough_scrolling_cases' 377 return 'smoothness.tough_scrolling_cases'
378 378
379 379 @benchmark.Disabled('all') # crbug.com/667489
380 @benchmark.Enabled('android')
381 class SmoothnessGpuRasterizationToughScrollingCases(_Smoothness): 380 class SmoothnessGpuRasterizationToughScrollingCases(_Smoothness):
382 tag = 'gpu_rasterization' 381 tag = 'gpu_rasterization'
383 test = smoothness.Smoothness 382 test = smoothness.Smoothness
384 page_set = page_sets.ToughScrollingCasesPageSet 383 page_set = page_sets.ToughScrollingCasesPageSet
385 384
386 def SetExtraBrowserOptions(self, options): 385 def SetExtraBrowserOptions(self, options):
387 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 386 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
388 387
389 @classmethod 388 @classmethod
390 def Name(cls): 389 def Name(cls):
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 """Measures rendering statistics while scrolling advertisements.""" 494 """Measures rendering statistics while scrolling advertisements."""
496 page_set = page_sets.SyntheticToughWebglAdCasesPageSet 495 page_set = page_sets.SyntheticToughWebglAdCasesPageSet
497 496
498 @classmethod 497 @classmethod
499 def Name(cls): 498 def Name(cls):
500 return 'smoothness.tough_webgl_ad_cases' 499 return 'smoothness.tough_webgl_ad_cases'
501 500
502 @classmethod 501 @classmethod
503 def ShouldDisable(cls, possible_browser): 502 def ShouldDisable(cls, possible_browser):
504 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 503 return cls.IsSvelte(possible_browser) # http://crbug.com/574485
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698