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

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

Issue 2100403003: Disable smoothness.tough_filters_cases on Nexus 6. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 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.
61 """ 61 """
62 page_set = page_sets.ToughFiltersCasesPageSet 62 page_set = page_sets.ToughFiltersCasesPageSet
63 63
64 @classmethod 64 @classmethod
65 def Name(cls): 65 def Name(cls):
66 return 'smoothness.tough_filters_cases' 66 return 'smoothness.tough_filters_cases'
67 67
68 @classmethod 68 @classmethod
69 def ShouldDisable(cls, possible_browser): # http://crbug.com/616520 69 def ShouldDisable(cls, possible_browser):
70 return (cls.IsSvelte(possible_browser) and 70 # http://crbug.com/616520
71 possible_browser.browser_type == 'reference') 71 if (cls.IsSvelte(possible_browser) and
72 possible_browser.browser_type == 'reference'):
73 return True
74 # http://crbug.com/624032
75 if possible_browser.platform.GetDeviceTypeName() == 'Nexus 6':
76 return True
77 return False
72 78
73 79
74 class SmoothnessToughPathRenderingCases(_Smoothness): 80 class SmoothnessToughPathRenderingCases(_Smoothness):
75 """Tests a selection of pages with SVG and 2D Canvas paths. 81 """Tests a selection of pages with SVG and 2D Canvas paths.
76 82
77 Measures frame rate and a variety of other statistics. """ 83 Measures frame rate and a variety of other statistics. """
78 page_set = page_sets.ToughPathRenderingCasesPageSet 84 page_set = page_sets.ToughPathRenderingCasesPageSet
79 85
80 @classmethod 86 @classmethod
81 def Name(cls): 87 def Name(cls):
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 """Measures rendering statistics while scrolling advertisements.""" 477 """Measures rendering statistics while scrolling advertisements."""
472 page_set = page_sets.SyntheticToughWebglAdCasesPageSet 478 page_set = page_sets.SyntheticToughWebglAdCasesPageSet
473 479
474 @classmethod 480 @classmethod
475 def Name(cls): 481 def Name(cls):
476 return 'smoothness.tough_webgl_ad_cases' 482 return 'smoothness.tough_webgl_ad_cases'
477 483
478 @classmethod 484 @classmethod
479 def ShouldDisable(cls, possible_browser): 485 def ShouldDisable(cls, possible_browser):
480 return cls.IsSvelte(possible_browser) # http://crbug.com/574485 486 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