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

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

Issue 1830603002: Disable power.typical_10_mobile on Android Perf bots (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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
11 11
12 12
13 @benchmark.Enabled('android') 13 @benchmark.Enabled('android')
14 class PowerAndroidAcceptance(perf_benchmark.PerfBenchmark): 14 class PowerAndroidAcceptance(perf_benchmark.PerfBenchmark):
15 """Android power acceptance test.""" 15 """Android power acceptance test."""
16 test = power.Power 16 test = power.Power
17 page_set = page_sets.AndroidAcceptancePageSet 17 page_set = page_sets.AndroidAcceptancePageSet
18 18
19 def SetExtraBrowserOptions(self, options): 19 def SetExtraBrowserOptions(self, options):
20 options.full_performance_mode = False 20 options.full_performance_mode = False
21 21
22 @classmethod 22 @classmethod
23 def Name(cls): 23 def Name(cls):
24 return 'power.android_acceptance' 24 return 'power.android_acceptance'
25 25
26 26
27 @benchmark.Enabled('android') 27 @benchmark.Disabled('all') # http://crbug.com/597290
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 Name(cls): 37 def Name(cls):
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 return 'power.gpu_rasterization.top_25' 160 return 'power.gpu_rasterization.top_25'
161 161
162 def CreateStorySet(self, _): 162 def CreateStorySet(self, _):
163 # Exclude techcrunch.com. It is not suitable for this benchmark because it 163 # Exclude techcrunch.com. It is not suitable for this benchmark because it
164 # does not consistently become quiescent within 60 seconds. 164 # does not consistently become quiescent within 60 seconds.
165 stories = self.page_set() 165 stories = self.page_set()
166 found = next((x for x in stories if 'techcrunch.com' in x.url), None) 166 found = next((x for x in stories if 'techcrunch.com' in x.url), None)
167 if found: 167 if found:
168 stories.RemoveStory(found) 168 stories.RemoveStory(found)
169 return stories 169 return stories
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