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