Home | History | Annotate | Download | only in video_WebRtcMainFeedSwitching
      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 = "kerl (a] google.com, chromeos-meetings (a] google.com"
      6 NAME = "video_WebRtcMainFeedSwitching.perf"
      7 PURPOSE = """Measure performance when srcObject of video tags are frequently
      8 swapped"""
      9 CRITERIA = "Fails if Chrome crashes"
     10 ATTRIBUTES = "suite:hotrod, suite:bluestreak, suite:bluestreak-perbuild"
     11 TIME = "MEDIUM"
     12 TEST_CATEGORY = "Performance"
     13 TEST_CLASS = "video"
     14 TEST_TYPE = "client"
     15 BUG_TEMPLATE = {
     16     "labels": ["OS-Chrome"],
     17     "components": ["OS>Kernel>Video"],
     18 }
     19 
     20 DOC = """
     21 This test starts 5 high resolution (1280x720) loopback peer connections. Four
     22 of the video elements are styled to be small, thumbnail sized (182x136) and one
     23 is in its native size.  This is intended to simulate a video conference with
     24 one main feed and several smaller feeds.
     25 
     26 The test then frequently swaps the sourceObject of the main feed with a
     27 randomly chosen smaller feed.
     28 
     29 The tests use a fake media stream - not a real camera.
     30 
     31 The test collects system metrics during the run. See go/cfm-perf-metrics
     32 for details about the metrics.
     33 """
     34 
     35 job.run_test(
     36         "video_WebRtcMainFeedSwitching", mode = "performance", tag = "perf")
     37 
     38