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

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

Issue 1998433003: Add scrolling power test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move page. Created 4 years, 7 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/trivial_sites.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 9061ee1b490aae6b641e0e458ba42a6741960667..3e49005f1b05ba33e7a258a9afdd24c72df87bd8 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -178,3 +178,14 @@ class PowerGpuRasterizationTop25(perf_benchmark.PerfBenchmark):
if found:
stories.RemoveStory(found)
return stories
+
+
+@benchmark.Enabled('mac')
+class PowerScrollingTrivialPage(perf_benchmark.PerfBenchmark):
+ """Scroll a trivial page and measure power consumption."""
+ test = power.QuiescentPower
+ page_set = page_sets.TrivialScrollStorySet
+
+ @classmethod
+ def Name(cls):
+ return 'power.trivial_scroll'
« no previous file with comments | « no previous file | tools/perf/page_sets/trivial_sites.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698