1# Copyright 2017 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 = "kerl@google.com, chromeos-meetings@google.com" 6NAME = "webrtc_PausePlayPeerConnections.video_perf" 7PURPOSE = "Performance test of frequent pause and plays of peer connections" 8CRITERIA = "Fails if the tab freezes during the test" 9ATTRIBUTES = "suite:hotrod" 10TIME = "MEDIUM" 11TEST_CATEGORY = "Performance" 12TEST_CLASS = "video" 13TEST_TYPE = "client" 14BUG_TEMPLATE = { 15 "labels": ["OS-Chrome"], 16 "components": ["OS>Kernel>Video"], 17} 18JOB_RETRIES = 2 19 20DOC = """ 21This test starts 10 peer connections with low resolution video 22streams. The tests randomly pauses and plays the streams. 23 24The test collects system metrics during the run. See go/cfm-perf-metrics 25for details about the metrics. 26""" 27 28job.run_test( 29 "webrtc_PausePlayPeerConnections", 30 mode = 'performance', 31 element_type = 'video', 32 tag = 'video_perf') 33 34