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

Side by Side Diff: tools/perf/benchmarks/power.py

Issue 669733009: Add a typical mobile page set for energy consumption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cut down to 10 sites, added sites in more languages. Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/page_sets/data/typical_10_mobile.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from measurements import power 5 from measurements import power
6 import page_sets 6 import page_sets
7 from telemetry import benchmark 7 from telemetry import benchmark
8 8
9 9
10 @benchmark.Enabled('android') 10 @benchmark.Enabled('android')
11 class PowerAndroidAcceptance(benchmark.Benchmark): 11 class PowerAndroidAcceptance(benchmark.Benchmark):
12 12
13 """Android power acceptance test.""" 13 """Android power acceptance test."""
14 14
15 test = power.Power 15 test = power.Power
16 page_set = page_sets.AndroidAcceptancePageSet 16 page_set = page_sets.AndroidAcceptancePageSet
17
18
19 @benchmark.Enabled('android')
20 class PowerTypical10Mobile(benchmark.Benchmark):
21
22 """Android typical 10 mobile power test."""
23
24 test = power.Power
25 page_set = page_sets.Typical10MobilePageSet
OLDNEW
« no previous file with comments | « no previous file | tools/perf/page_sets/data/typical_10_mobile.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698