Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 from telemetry import test | |
| 5 | |
| 6 from measurements import power_many_tabs | |
| 7 | |
| 8 | |
| 9 # Only enabled on systems that allow power measurement. | |
| 10 @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
| |
| 11 class ManyTabs(test.Test): | |
| 12 """Load 5 blank tabs and measure power usage.""" | |
| 13 tag = 'many_blank_tabs' | |
| 14 test = power_many_tabs.PowerManyTabs | |
| 15 page_set = 'page_sets/blank_page.json' | |
| 16 options = {'pageset_repeat_iters': 5} | |
| OLD | NEW |