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/energy.py

Issue 1092393002: Telemetry: Quiescent power benchmarks for Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@safari-backend
Patch Set: 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/energy.py » ('j') | tools/perf/measurements/energy.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/energy.py
diff --git a/tools/perf/benchmarks/energy.py b/tools/perf/benchmarks/energy.py
new file mode 100644
index 0000000000000000000000000000000000000000..2a4ea13019a23f48b62b25241247730ff19da0dc
--- /dev/null
+++ b/tools/perf/benchmarks/energy.py
@@ -0,0 +1,17 @@
+# Copyright 2015 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 benchmark
+
+from measurements import energy
+import page_sets
+
+
+class EnergyTop25(benchmark.Benchmark):
+ """Top 25 energy test."""
ccameron 2015/04/20 21:36:33 I'd like to add some simpler pages, in particular
Andre 2015/04/20 21:52:39 Sounds good. We should create a new pageset instea
sullivan 2015/04/21 15:56:53 There already exists a tough_energy_cases pageset,
+ test = energy.Energy
+ page_set = page_sets.Top25PageSet
+ @classmethod
+ def Name(cls):
+ return 'energy.top_25'
« no previous file with comments | « no previous file | tools/perf/measurements/energy.py » ('j') | tools/perf/measurements/energy.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698