aboutsummaryrefslogtreecommitdiff
path: root/client/site_tests/power_VideoPlayback/control.noarc
blob: e618e3968217e02a1a0e316e03d0535e221074b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AUTHOR = "Chrome OS Team"
NAME = "power_VideoPlayback.noarc"
PURPOSE = "Measure video playback power usage."

CRITERIA = "This test is a benchmark."
TIME = "LENGTHY"
TEST_CATEGORY = "Benchmark"
TEST_CLASS = "power"
TEST_TYPE = "client"
PY_VERSION = 3

ATTRIBUTES = ""
DOC = """
Test video decode for
- h264 1080p 30fps
- vp9 1080 30fps
for 10min each with ARC disabled.

This test is called just noarc to use it to distinguish between ARC vs no ARC
on the DUT. The details of video encoding and length aren't relevant other
than `arc` and `noarc` should be identical.
"""

args_dict = utils.args_to_dict(args)
pdash_note = args_dict.get('pdash_note', '')
job.run_test('power_VideoPlayback', tag=NAME.split('.')[1],
             videos=[('h264_1080_30fps', ''), ('vp9_1080_30fps','')],
             secs_per_video=600, pdash_note=pdash_note, seconds_period=20,
             run_arc=False)