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, suite:bluestreak, suite:bluestreak-perbuild" 10TIME = "MEDIUM" 11TEST_CATEGORY = "Performance" 12TEST_CLASS = "video" 13TEST_TYPE = "client" 14BUG_TEMPLATE = { 15 "labels": ["OS-Chrome"], 16 "components": ["OS>Kernel>Video"], 17} 18 19DOC = """ 20This test starts 10 peer connections with low resolution video 21streams. The tests randomly pauses and plays the streams. 22 23The test collects system metrics during the run. See go/cfm-perf-metrics 24for details about the metrics. 25""" 26 27job.run_test( 28 "webrtc_PausePlayPeerConnections", 29 mode = 'performance', 30 element_type = 'video', 31 tag = 'video_perf') 32 33