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" 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 JOB_RETRIES = 2 19 20 DOC = """ 21 This test starts 10 peer connections with audio streams. 22 The tests randomly pauses and plays the streams. 23 24 The test collects system metrics during the run. See go/cfm-perf-metrics 25 for details about the metrics. 26 """ 27 28 job.run_test( 29 "webrtc_PausePlayPeerConnections", 30 mode = 'performance', 31 element_type = 'audio', 32 tag = 'audio_perf') 33 34