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

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

Issue 2301653002: [BattOr] Add mac BattOr test for steady state cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [BattOr] Add mac BattOr test for steady state cases. Created 4 years, 3 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 | tools/perf/page_sets/idle_after_loading_stories.py » ('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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 @benchmark.Enabled('mac') 123 @benchmark.Enabled('mac')
124 class BattOrTrivialPages(_BattOrBenchmark): 124 class BattOrTrivialPages(_BattOrBenchmark):
125 125
126 def CreateStorySet(self, options): 126 def CreateStorySet(self, options):
127 # We want it to wait for 30 seconds to be comparable to legacy power tests. 127 # We want it to wait for 30 seconds to be comparable to legacy power tests.
128 return page_sets.MacGpuTrivialPagesStorySet(wait_in_seconds=30) 128 return page_sets.MacGpuTrivialPagesStorySet(wait_in_seconds=30)
129 129
130 @classmethod 130 @classmethod
131 def Name(cls): 131 def Name(cls):
132 return 'battor.trivial_pages' 132 return 'battor.trivial_pages'
133
134 @benchmark.Enabled('mac')
135 class BattOrSteadyStatePages(_BattOrBenchmark):
136
137 def CreateStorySet(self, options):
138 # We want it to wait for 30 seconds to be comparable to legacy power tests.
139 return page_sets.IdleAfterLoadingStories(wait_in_seconds=30)
140
141 @classmethod
142 def Name(cls):
143 return 'battor.steady_state'
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/idle_after_loading_stories.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698