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/battor.py

Issue 2718493003: Delete battor.power_cases and the power_cases page set (Closed)
Patch Set: Synced to head, where Ned is in the OWNERS file Created 3 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 | « testing/buildbot/chromium.perf.fyi.json ('k') | tools/perf/page_sets/data/power_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 from telemetry.timeline import chrome_trace_category_filter 6 from telemetry.timeline import chrome_trace_category_filter
7 from telemetry.web_perf import timeline_based_measurement 7 from telemetry.web_perf import timeline_based_measurement
8 import page_sets 8 import page_sets
9 from telemetry import benchmark 9 from telemetry import benchmark
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 @benchmark.Disabled('android', 'win8') 43 @benchmark.Disabled('android', 'win8')
44 class BattOrToughVideoCases(_BattOrBenchmark): 44 class BattOrToughVideoCases(_BattOrBenchmark):
45 """Obtains media metrics for key user scenarios.""" 45 """Obtains media metrics for key user scenarios."""
46 page_set = page_sets.ToughVideoCasesPageSet 46 page_set = page_sets.ToughVideoCasesPageSet
47 47
48 @classmethod 48 @classmethod
49 def Name(cls): 49 def Name(cls):
50 return 'battor.tough_video_cases' 50 return 'battor.tough_video_cases'
51 51
52 52
53 class BattOrPowerCases(_BattOrBenchmark):
54 page_set = page_sets.power_cases.PowerCasesPageSet
55
56 @classmethod
57 def Name(cls):
58 return 'battor.power_cases'
59
60
61 @benchmark.Enabled('mac') 53 @benchmark.Enabled('mac')
62 class BattOrTrivialPages(_BattOrBenchmark): 54 class BattOrTrivialPages(_BattOrBenchmark):
63 55
64 def CreateStorySet(self, options): 56 def CreateStorySet(self, options):
65 # We want it to wait for 30 seconds to be comparable to legacy power tests. 57 # We want it to wait for 30 seconds to be comparable to legacy power tests.
66 return page_sets.TrivialSitesStorySet(wait_in_seconds=30) 58 return page_sets.TrivialSitesStorySet(wait_in_seconds=30)
67 59
68 @classmethod 60 @classmethod
69 def Name(cls): 61 def Name(cls):
70 return 'battor.trivial_pages' 62 return 'battor.trivial_pages'
71 63
72 @benchmark.Enabled('mac') 64 @benchmark.Enabled('mac')
73 class BattOrSteadyStatePages(_BattOrBenchmark): 65 class BattOrSteadyStatePages(_BattOrBenchmark):
74 66
75 def CreateStorySet(self, options): 67 def CreateStorySet(self, options):
76 # We want it to wait for 30 seconds to be comparable to legacy power tests. 68 # We want it to wait for 30 seconds to be comparable to legacy power tests.
77 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30) 69 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30)
78 70
79 @classmethod 71 @classmethod
80 def Name(cls): 72 def Name(cls):
81 return 'battor.steady_state' 73 return 'battor.steady_state'
OLDNEW
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | tools/perf/page_sets/data/power_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698