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