| # Copyright 2018 The Chromium 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 = "Chrome OS Team, [email protected]" |
| NAME = "video_JEAPerf" |
| PURPOSE = "Monitor the performance of the Chromium JEA." |
| CRITERIA = """ |
| The test fails if the jpeg_encode_accelerator_unittest fails or crashes. |
| """ |
| ATTRIBUTES = "suite:crosbolt_perf_nightly" |
| TIME = "SHORT" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| DEPENDENCIES='hw_jpeg_acc_enc' |
| BUG_TEMPLATE = { |
| 'labels': ['OS-Chrome', 'VideoTestFailure'], |
| 'cc': ['[email protected]'], |
| } |
| |
| DOC = """ |
| This test utilizes the jpeg_encode_accelerator_unittest to measure the |
| performance of the Chromium Jpeg Encode Accelerator. |
| """ |
| |
| test_cases = [ |
| ('jpeg_test/lake_4160x3120.yuv', 4160, 3120) |
| ] |
| |
| job.run_test('video_JEAPerf', test_cases=test_cases) |
| |