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

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

Issue 1092393002: Telemetry: Quiescent power benchmarks for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@safari-backend
Patch Set: Fix unit test Created 5 years, 8 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/measurements/page_cycler_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/power.py
diff --git a/tools/perf/benchmarks/power.py b/tools/perf/benchmarks/power.py
index 9cbda5384e5990468be2e9e0110b270c5c3ec31b..d31403f54f05a234a8bc63ff994c77479c2d1d04 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -18,7 +18,6 @@ class PowerAndroidAcceptance(benchmark.Benchmark):
return 'power.android_acceptance'
-
@benchmark.Enabled('android')
class PowerTypical10Mobile(benchmark.Benchmark):
"""Android typical 10 mobile power test."""
@@ -29,3 +28,21 @@ class PowerTypical10Mobile(benchmark.Benchmark):
return 'power.typical_10_mobile'
+@benchmark.Enabled('mac')
+class PowerTop10(benchmark.Benchmark):
+ """Top 10 quiescent power test."""
+ test = power.QuiescentPower
+ page_set = page_sets.Top10PageSet
+ @classmethod
+ def Name(cls):
+ return 'power.top_10'
+
+
+@benchmark.Enabled('mac')
+class PowerTop25(benchmark.Benchmark):
+ """Top 25 quiescent power test."""
+ test = power.QuiescentPower
+ page_set = page_sets.Top25PageSet
+ @classmethod
+ def Name(cls):
+ return 'power.top_25'
« no previous file with comments | « no previous file | tools/perf/measurements/page_cycler_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698