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

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: Remove extreneous change 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..bf8b9424a34229d5a3a6690e4a899d5759370a1f
--- /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')
+class BlankTabs(test.Test):
+ """Load 5 blank tabs and measure power usage."""
+ tag = 'five_blank_tabs'
+ test = power_many_tabs.PowerManyTabs
+ page_set = 'page_sets/five_blank_pages.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