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