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

Unified Diff: tools/perf/benchmarks/battor.py

Issue 2261713003: [Telemetry] Add trivial pages page set to BattOr benchmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/mac_gpu_sites.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 f1713be955ffde3695e00a0aff224eab4b7f4e9f..1cfaf8da98d9e448290d2add060b869cc8897393 100644
--- a/tools/perf/benchmarks/battor.py
+++ b/tools/perf/benchmarks/battor.py
@@ -118,3 +118,15 @@ class BattOrPowerCasesNoChromeTrace(_BattOrBenchmark):
@classmethod
def Name(cls):
return 'battor.power_cases_no_chrome_trace'
+
+
+@benchmark.Enabled('mac')
+class BattOrTrivialPages(_BattOrBenchmark):
+
+ def CreateStorySet(self, options):
+ # We want it to wait for 30 seconds to be comparable to legacy power tests.
+ return page_sets.MacGpuTrivialPagesStorySet(wait_in_seconds=30)
+
+ @classmethod
+ def Name(cls):
+ return 'battor.trivial_pages'
« no previous file with comments | « no previous file | tools/perf/page_sets/mac_gpu_sites.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698