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

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

Issue 1404423010: Temporarily disable the reference build on benchmarks using top_25. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « tools/perf/benchmarks/power.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 4
5 from core import perf_benchmark 5 from core import perf_benchmark
6 6
7 from benchmarks import silk_flags 7 from benchmarks import silk_flags
8 from measurements import smoothness 8 from measurements import smoothness
9 import page_sets 9 import page_sets
10 import page_sets.key_silk_cases 10 import page_sets.key_silk_cases
(...skipping 18 matching lines...) Expand all
29 @classmethod 29 @classmethod
30 def ValueCanBeAddedPredicate(cls, value, is_first_result): 30 def ValueCanBeAddedPredicate(cls, value, is_first_result):
31 del is_first_result # unused 31 del is_first_result # unused
32 if (value.name == 'first_gesture_scroll_update_latency' and 32 if (value.name == 'first_gesture_scroll_update_latency' and
33 value.page.url in cls._PAGES_WITHOUT_SCROLL_GESTURE_BLACKLIST and 33 value.page.url in cls._PAGES_WITHOUT_SCROLL_GESTURE_BLACKLIST and
34 value.values is None): 34 value.values is None):
35 return False 35 return False
36 return True 36 return True
37 37
38 38
39 @benchmark.Disabled('reference') # crbug.com/547833
39 class SmoothnessTop25(_Smoothness): 40 class SmoothnessTop25(_Smoothness):
40 """Measures rendering statistics while scrolling down the top 25 web pages. 41 """Measures rendering statistics while scrolling down the top 25 web pages.
41 42
42 http://www.chromium.org/developers/design-documents/rendering-benchmarks 43 http://www.chromium.org/developers/design-documents/rendering-benchmarks
43 """ 44 """
44 page_set = page_sets.Top25SmoothPageSet 45 page_set = page_sets.Top25SmoothPageSet
45 46
46 @classmethod 47 @classmethod
47 def Name(cls): 48 def Name(cls):
48 return 'smoothness.top_25_smooth' 49 return 'smoothness.top_25_smooth'
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 stories = super(SmoothnessKeySilkCases, self).CreateStorySet(options) 149 stories = super(SmoothnessKeySilkCases, self).CreateStorySet(options)
149 # Page26 (befamous) is too noisy to be useful; crbug.com/461127 150 # Page26 (befamous) is too noisy to be useful; crbug.com/461127
150 to_remove = [story for story in stories 151 to_remove = [story for story in stories
151 if isinstance(story, page_sets.key_silk_cases.Page26)] 152 if isinstance(story, page_sets.key_silk_cases.Page26)]
152 for story in to_remove: 153 for story in to_remove:
153 stories.RemoveStory(story) 154 stories.RemoveStory(story)
154 return stories 155 return stories
155 156
156 157
157 @benchmark.Enabled('android', 'mac') 158 @benchmark.Enabled('android', 'mac')
159 @benchmark.Disabled('reference') # crbug.com/547833
158 class SmoothnessGpuRasterizationTop25(_Smoothness): 160 class SmoothnessGpuRasterizationTop25(_Smoothness):
159 """Measures rendering statistics for the top 25 with GPU rasterization. 161 """Measures rendering statistics for the top 25 with GPU rasterization.
160 """ 162 """
161 tag = 'gpu_rasterization' 163 tag = 'gpu_rasterization'
162 page_set = page_sets.Top25SmoothPageSet 164 page_set = page_sets.Top25SmoothPageSet
163 165
164 def SetExtraBrowserOptions(self, options): 166 def SetExtraBrowserOptions(self, options):
165 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 167 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
166 168
167 @classmethod 169 @classmethod
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 492
491 493
492 @benchmark.Disabled('reference') # http://crbug.com/496684 494 @benchmark.Disabled('reference') # http://crbug.com/496684
493 class SmoothnessToughWebGLAdCases(_Smoothness): 495 class SmoothnessToughWebGLAdCases(_Smoothness):
494 """Measures rendering statistics while scrolling advertisements.""" 496 """Measures rendering statistics while scrolling advertisements."""
495 page_set = page_sets.ToughWebglAdCasesPageSet 497 page_set = page_sets.ToughWebglAdCasesPageSet
496 498
497 @classmethod 499 @classmethod
498 def Name(cls): 500 def Name(cls):
499 return 'smoothness.tough_webgl_ad_cases' 501 return 'smoothness.tough_webgl_ad_cases'
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/power.py ('k') | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698