| # Copyright 2017 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "kerl@google.com, chromeos-meetings@google.com" |
| NAME = "webrtc_PausePlayPeerConnections.video_perf" |
| PURPOSE = "Performance test of frequent pause and plays of peer connections" |
| CRITERIA = "Fails if the tab freezes during the test" |
| ATTRIBUTES = "suite:hotrod" |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| BUG_TEMPLATE = { |
| "labels": ["OS-Chrome"], |
| "components": ["OS>Kernel>Video"], |
| } |
| JOB_RETRIES = 2 |
| |
| DOC = """ |
| This test starts 10 peer connections with low resolution video |
| streams. The tests randomly pauses and plays the streams. |
| |
| The test collects system metrics during the run. See go/cfm-perf-metrics |
| for details about the metrics. |
| """ |
| |
| job.run_test( |
| "webrtc_PausePlayPeerConnections", |
| mode = 'performance', |
| element_type = 'video', |
| tag = 'video_perf') |
| |