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

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

Issue 2271793003: Add a new benchmark for cpu power measurements on steady state sites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment. 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/data/idle_after_loading_stories.json » ('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 e1632e57de12a34225cf8015df80bd82143365c7..1d84778b1a01546ed5a3a4c42cefcc69284e8c59 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -190,3 +190,14 @@ class PowerScrollingTrivialPage(perf_benchmark.PerfBenchmark):
@classmethod
def Name(cls):
return 'power.trivial_pages'
+
+@benchmark.Enabled('mac')
+class PowerSteadyStatePages(perf_benchmark.PerfBenchmark):
+ """Measure power consumption for real web sites in steady state (no user
+ interactions)."""
+ test = power.QuiescentPower
+ page_set = page_sets.IdleAfterLoadingStories
+
+ @classmethod
+ def Name(cls):
+ return 'power.steady_state'
« no previous file with comments | « no previous file | tools/perf/page_sets/data/idle_after_loading_stories.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698