• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 The Chromium 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 = "Chrome OS Team, chromeos-video@google.com"
6NAME = "video_VDAPerf"
7PURPOSE = "Monitor the performance of the Chromium hardware VDA."
8CRITERIA = """
9The test fails if the video_decode_accelerator_unittest fails or crashes.
10"""
11ATTRIBUTES = "suite:crosbolt_perf_nightly"
12SUITE = "crosbolt_perf_nightly"
13TIME = "SHORT"
14TEST_CATEGORY = "Performance"
15TEST_CLASS = "video"
16TEST_TYPE = "client"
17# Reboot in the lab after the test ends.
18DEPENDENCIES='cleanup-reboot, hw_video_acc_vp8'
19BUG_TEMPLATE = {
20    'labels': ['OS-Chrome', 'VideoTestFailure'],
21    'cc': ['chromeos-video-test-failures@google.com'],
22}
23
24DOC = """
25This test utilizes the video_decode_accelerator_unittest to measure the
26performance of the Chromium hardware Video Decode Accelerator.
27"""
28
29# A list of test cases. Each entry consists of the following parts:
30#   [download_path, width, height, frame_num, fragment_num, profile, fps]
31test_cases = [
32    ['crowd/crowd1080-1edaaca36b67e549c51e5fea4ed545c3.vp8', 1920, 1080, 500, 539, 11, 50],
33    ['crowd/crowd720-41e9a3e6a6b1644ebdb3f5723fce96e5.vp8', 1280, 720, 500, 534, 11, 50]
34]
35
36constraints = [
37    'crowd1080_vp8_frame_drop_rate == 0',
38    'crowd720_vp8_frame_drop_rate == 0']
39
40job.run_test('video_VDAPerf', test_cases=test_cases, constraints=constraints)
41