• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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_JEAPerf"
7PURPOSE = "Monitor the performance of the Chromium JEA."
8CRITERIA = """
9The test fails if the jpeg_encode_accelerator_unittest fails or crashes.
10"""
11ATTRIBUTES = "suite:crosbolt_perf_nightly"
12TIME = "SHORT"
13TEST_CATEGORY = "Performance"
14TEST_CLASS = "video"
15TEST_TYPE = "client"
16BUG_TEMPLATE = {
17    'labels': ['OS-Chrome', 'VideoTestFailure'],
18    'cc': ['chromeos-video-test-failures@google.com'],
19}
20
21DOC = """
22This test utilizes the jpeg_encode_accelerator_unittest to measure the
23performance of the Chromium Jpeg Encode Accelerator.
24"""
25
26test_cases = [
27    ('jpeg_test/lake_4160x3120.yuv', 4160, 3120)
28]
29
30job.run_test('video_JEAPerf', test_cases=test_cases, capability='hw_enc_jpeg')
31