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