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

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

Issue 1428133005: [Telemetry] Allows concatenating multiple Disabled & Enabled decorators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Dave's comment 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
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 21 matching lines...) Expand all
32 32
33 def SetExtraBrowserOptions(self, options): 33 def SetExtraBrowserOptions(self, options):
34 options.full_performance_mode = False 34 options.full_performance_mode = False
35 35
36 @classmethod 36 @classmethod
37 def Name(cls): 37 def Name(cls):
38 return 'power.typical_10_mobile' 38 return 'power.typical_10_mobile'
39 39
40 40
41 @benchmark.Enabled('android') 41 @benchmark.Enabled('android')
42 @benchmark.Disabled 42 @benchmark.Disabled('all')
43 class PowerTypical10MobileReload(perf_benchmark.PerfBenchmark): 43 class PowerTypical10MobileReload(perf_benchmark.PerfBenchmark):
44 """Android typical 10 mobile power reload test.""" 44 """Android typical 10 mobile power reload test."""
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):
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 page_set = page_sets.ThrottledPluginsPageSet 206 page_set = page_sets.ThrottledPluginsPageSet
207 options = {'pageset_repeat': 5} 207 options = {'pageset_repeat': 5}
208 208
209 def SetExtraBrowserOptions(self, options): 209 def SetExtraBrowserOptions(self, options):
210 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver']) 210 options.AppendExtraBrowserArgs(['--enable-plugin-power-saver'])
211 options.full_performance_mode = False 211 options.full_performance_mode = False
212 212
213 @classmethod 213 @classmethod
214 def Name(cls): 214 def Name(cls):
215 return 'power.throttled_plugins_pps_enabled' 215 return 'power.throttled_plugins_pps_enabled'
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/page_cycler.py ('k') | tools/perf/benchmarks/rasterize_and_record_micro.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698