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

Unified 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, 4 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/battor.py
diff --git a/tools/perf/benchmarks/battor.py b/tools/perf/benchmarks/battor.py
index 1cfaf8da98d9e448290d2add060b869cc8897393..53ef3e4f2dae6583e9efc804cf2144e73b6363d9 100644
--- a/tools/perf/benchmarks/battor.py
+++ b/tools/perf/benchmarks/battor.py
@@ -130,3 +130,14 @@ class BattOrTrivialPages(_BattOrBenchmark):
@classmethod
def Name(cls):
return 'battor.trivial_pages'
+
+@benchmark.Enabled('mac')
+class BattOrSteadyStatePages(_BattOrBenchmark):
+
+ def CreateStorySet(self, options):
+ # We want it to wait for 30 seconds to be comparable to legacy power tests.
+ return page_sets.IdleAfterLoadingStories(wait_in_seconds=30)
+
+ @classmethod
+ def Name(cls):
+ return 'battor.steady_state'
« 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