1# Copyright (c) 2014 The Chromium OS 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
5AUTHOR = "Chrome OS Project, chromeos-video@google.com"
6NAME = "video_WebRtcPerf"
7PURPOSE = "Measure the CPU usage and decode time of WebRTC"
8CRITERIA = "This is a performance test and does not fail."
9ATTRIBUTES = "suite:crosbolt_perf_perbuild"
10TIME = "MEDIUM"
11TEST_CATEGORY = "Performance"
12TEST_CLASS = "video"
13TEST_TYPE = "client"
14BUG_TEMPLATE = {
15    "labels": ["OS-Chrome", "VideoTestFailure"],
16    'cc': ['chromeos-video-test-failures@google.com'],
17}
18
19DOC = """
20This test outputs the CPU usage and decode time of WebRTC with and without
21hardware acceleration to the performance dashboard. The test runs on all the
22devices. The output can be used to compare the performance between using
23hardware and software. It can also be used to compare the performance among
24different devices.
25"""
26
27job.run_test("video_WebRtcPerf",
28             decode_time_test=True,
29             cpu_test=True,
30             power_test=False)
31