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

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

Issue 2560483002: Disable power.gpu_rasterization.typical_10_mobile on Nexus 9 (Closed)
Patch Set: Created 4 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 16 matching lines...) Expand all
27 @benchmark.Enabled('android') 27 @benchmark.Enabled('android')
28 class PowerTypical10Mobile(perf_benchmark.PerfBenchmark): 28 class PowerTypical10Mobile(perf_benchmark.PerfBenchmark):
29 """Android typical 10 mobile power test.""" 29 """Android typical 10 mobile power test."""
30 test = power.Power 30 test = power.Power
31 page_set = page_sets.Typical10MobilePageSet 31 page_set = page_sets.Typical10MobilePageSet
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 ShouldDisable(cls, possible_browser): # http://crbug.com/597656 37 def ShouldDisable(cls, possible_browser):
38 return (possible_browser.browser_type == 'reference' and 38 # http://crbug.com/597656
39 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') 39 if (possible_browser.browser_type == 'reference' and
40 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'):
41 return True
42
43 # crbug.com/671631
44 return possible_browser.platform.GetDeviceTypeName() == 'Nexus 9'
40 45
41 @classmethod 46 @classmethod
42 def Name(cls): 47 def Name(cls):
43 return 'power.typical_10_mobile' 48 return 'power.typical_10_mobile'
44 49
45 50
46 @benchmark.Enabled('android') 51 @benchmark.Enabled('android')
47 @benchmark.Disabled('android-webview') # http://crbug.com/622300 52 @benchmark.Disabled('android-webview') # http://crbug.com/622300
48 class PowerToughAdCases(perf_benchmark.PerfBenchmark): 53 class PowerToughAdCases(perf_benchmark.PerfBenchmark):
49 """Android power test with tough ad pages.""" 54 """Android power test with tough ad pages."""
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 @benchmark.Enabled('mac') 198 @benchmark.Enabled('mac')
194 class PowerSteadyStatePages(perf_benchmark.PerfBenchmark): 199 class PowerSteadyStatePages(perf_benchmark.PerfBenchmark):
195 """Measure power consumption for real web sites in steady state (no user 200 """Measure power consumption for real web sites in steady state (no user
196 interactions).""" 201 interactions)."""
197 test = power.QuiescentPower 202 test = power.QuiescentPower
198 page_set = page_sets.IdleAfterLoadingStories 203 page_set = page_sets.IdleAfterLoadingStories
199 204
200 @classmethod 205 @classmethod
201 def Name(cls): 206 def Name(cls):
202 return 'power.steady_state' 207 return 'power.steady_state'
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