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

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

Issue 2735633007: Created battor.tough_energy cases (with dcurtis's change)
Patch Set: 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') | 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 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 @benchmark.Enabled('mac') 72 @benchmark.Enabled('mac')
73 class BattOrSteadyStatePages(_BattOrBenchmark): 73 class BattOrSteadyStatePages(_BattOrBenchmark):
74 74
75 def CreateStorySet(self, options): 75 def CreateStorySet(self, options):
76 # We want it to wait for 30 seconds to be comparable to legacy power tests. 76 # We want it to wait for 30 seconds to be comparable to legacy power tests.
77 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30) 77 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30)
78 78
79 @classmethod 79 @classmethod
80 def Name(cls): 80 def Name(cls):
81 return 'battor.steady_state' 81 return 'battor.steady_state'
82
83 class BattOrToughEnergyCases(_BattOrBenchmark):
84 page_set = page_sets.ToughEnergyCasesPageSet
85
86 @classmethod
87 def Name(cls):
88 return 'battor.tough_energy_cases'
OLDNEW
« no previous file with comments | « testing/buildbot/chromium.perf.fyi.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698