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

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

Issue 1412143003: Disable power.gpu_rasterization.top_25.reference (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 | « 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 power 8 from measurements import power
9 import page_sets 9 import page_sets
10 from telemetry import benchmark 10 from telemetry import benchmark
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 def CreateStorySet(self, _): 113 def CreateStorySet(self, _):
114 # Exclude techcrunch.com. It is not suitable for this benchmark because it 114 # Exclude techcrunch.com. It is not suitable for this benchmark because it
115 # does not consistently become quiescent within 60 seconds. 115 # does not consistently become quiescent within 60 seconds.
116 stories = self.page_set() 116 stories = self.page_set()
117 found = next((x for x in stories if 'techcrunch.com' in x.url), None) 117 found = next((x for x in stories if 'techcrunch.com' in x.url), None)
118 if found: 118 if found:
119 stories.RemoveStory(found) 119 stories.RemoveStory(found)
120 return stories 120 return stories
121 121
122 @benchmark.Enabled('mac') 122 @benchmark.Enabled('mac')
123 @benchmark.Disabled('reference') # crbug.com/549302
123 class PowerGpuRasterizationTop25(perf_benchmark.PerfBenchmark): 124 class PowerGpuRasterizationTop25(perf_benchmark.PerfBenchmark):
124 """Top 25 quiescent power test with GPU rasterization enabled.""" 125 """Top 25 quiescent power test with GPU rasterization enabled."""
125 tag = 'gpu_rasterization' 126 tag = 'gpu_rasterization'
126 test = power.QuiescentPower 127 test = power.QuiescentPower
127 page_set = page_sets.Top25PageSet 128 page_set = page_sets.Top25PageSet
128 129
129 def SetExtraBrowserOptions(self, options): 130 def SetExtraBrowserOptions(self, options):
130 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 131 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
131 options.full_performance_mode = False 132 options.full_performance_mode = False
132 133
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 page_set = page_sets.ThrottledPluginsPageSet 205 page_set = page_sets.ThrottledPluginsPageSet
205 options = {'pageset_repeat': 5} 206 options = {'pageset_repeat': 5}
206 207
207 def SetExtraBrowserOptions(self, options): 208 def SetExtraBrowserOptions(self, options):
208 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver']) 209 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver'])
209 options.full_performance_mode = False 210 options.full_performance_mode = False
210 211
211 @classmethod 212 @classmethod
212 def Name(cls): 213 def Name(cls):
213 return 'power.throttled_plugins_pps_enabled' 214 return 'power.throttled_plugins_pps_enabled'
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