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

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

Issue 1490723003: Disable power.gpu_rasterization.top_10 benchmark on Android Svelte (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct benchmark Created 5 years 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 page_set = page_sets.Typical10MobilePageSet 61 page_set = page_sets.Typical10MobilePageSet
62 62
63 def SetExtraBrowserOptions(self, options): 63 def SetExtraBrowserOptions(self, options):
64 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 64 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
65 options.full_performance_mode = False 65 options.full_performance_mode = False
66 66
67 @classmethod 67 @classmethod
68 def Name(cls): 68 def Name(cls):
69 return 'power.gpu_rasterization.typical_10_mobile' 69 return 'power.gpu_rasterization.typical_10_mobile'
70 70
71 @classmethod
72 def ShouldDisable(cls, possible_browser):
73 return cls.IsSvelte(possible_browser) # http://crbug.com/563968
74
75
71 @benchmark.Enabled('mac') 76 @benchmark.Enabled('mac')
72 class PowerTop10(perf_benchmark.PerfBenchmark): 77 class PowerTop10(perf_benchmark.PerfBenchmark):
73 """Top 10 quiescent power test.""" 78 """Top 10 quiescent power test."""
74 test = power.QuiescentPower 79 test = power.QuiescentPower
75 page_set = page_sets.Top10PageSet 80 page_set = page_sets.Top10PageSet
76 81
77 def SetExtraBrowserOptions(self, options): 82 def SetExtraBrowserOptions(self, options):
78 options.full_performance_mode = False 83 options.full_performance_mode = False
79 84
80 @classmethod 85 @classmethod
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 page_set = page_sets.ThrottledPluginsPageSet 211 page_set = page_sets.ThrottledPluginsPageSet
207 options = {'pageset_repeat': 5} 212 options = {'pageset_repeat': 5}
208 213
209 def SetExtraBrowserOptions(self, options): 214 def SetExtraBrowserOptions(self, options):
210 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver']) 215 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver'])
211 options.full_performance_mode = False 216 options.full_performance_mode = False
212 217
213 @classmethod 218 @classmethod
214 def Name(cls): 219 def Name(cls):
215 return 'power.throttled_plugins_pps_enabled' 220 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