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

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: 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 test = power.LoadPower 45 test = power.LoadPower
46 page_set = page_sets.Typical10MobileReloadPageSet 46 page_set = page_sets.Typical10MobileReloadPageSet
47 47
48 def SetExtraBrowserOptions(self, options): 48 def SetExtraBrowserOptions(self, options):
49 options.full_performance_mode = False 49 options.full_performance_mode = False
50 50
51 @classmethod 51 @classmethod
52 def Name(cls): 52 def Name(cls):
53 return 'power.typical_10_mobile_reload' 53 return 'power.typical_10_mobile_reload'
54 54
55 @classmethod
petrcermak 2015/12/01 12:22:57 See https://code.google.com/p/chromium/codesearch#
56 def ShouldDisable(cls, possible_browser):
57 return cls.IsSvelte(possible_browser) # http://crbug.com/563968
58
55 59
56 @benchmark.Enabled('android') 60 @benchmark.Enabled('android')
57 class PowerGpuRasterizationTypical10Mobile(perf_benchmark.PerfBenchmark): 61 class PowerGpuRasterizationTypical10Mobile(perf_benchmark.PerfBenchmark):
58 """Measures power on key mobile sites with GPU rasterization.""" 62 """Measures power on key mobile sites with GPU rasterization."""
59 tag = 'gpu_rasterization' 63 tag = 'gpu_rasterization'
60 test = power.Power 64 test = power.Power
61 page_set = page_sets.Typical10MobilePageSet 65 page_set = page_sets.Typical10MobilePageSet
62 66
63 def SetExtraBrowserOptions(self, options): 67 def SetExtraBrowserOptions(self, options):
64 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options) 68 silk_flags.CustomizeBrowserOptionsForGpuRasterization(options)
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 page_set = page_sets.ThrottledPluginsPageSet 210 page_set = page_sets.ThrottledPluginsPageSet
207 options = {'pageset_repeat': 5} 211 options = {'pageset_repeat': 5}
208 212
209 def SetExtraBrowserOptions(self, options): 213 def SetExtraBrowserOptions(self, options):
210 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver']) 214 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver'])
211 options.full_performance_mode = False 215 options.full_performance_mode = False
212 216
213 @classmethod 217 @classmethod
214 def Name(cls): 218 def Name(cls):
215 return 'power.throttled_plugins_pps_enabled' 219 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