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 178363005: [Telemetry] Measure power in tab_switching measurement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright year Created 6 years, 10 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
Index: tools/perf/benchmarks/power.py
diff --git a/tools/perf/benchmarks/power.py b/tools/perf/benchmarks/power.py
new file mode 100644
index 0000000000000000000000000000000000000000..903f6da74e6984639ae6c5015bfe9ab40769c5ec
--- /dev/null
+++ b/tools/perf/benchmarks/power.py
@@ -0,0 +1,16 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+from telemetry import test
+
+from measurements import power_many_tabs
+
+
+# Only enabled on systems that allow power measurement.
+@test.Enabled('mavericks')
qsr 2014/02/25 15:11:15 Should we have a new condition for power? Because
tonyg 2014/02/27 06:42:17 I've wanted this feature too in many contexts. The
+class ManyTabs(test.Test):
+ """Load 5 blank tabs and measure power usage."""
+ tag = 'many_blank_tabs'
+ test = power_many_tabs.PowerManyTabs
+ page_set = 'page_sets/blank_page.json'
+ options = {'pageset_repeat_iters': 5}
« no previous file with comments | « no previous file | tools/perf/measurements/power_many_tabs.py » ('j') | tools/perf/measurements/power_many_tabs.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698