blob: 248936e9fadf16286fdd2dc7958917e4c4684886 [file] [log] [blame]
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file is not managed by generate_controlfiles.py. It was necessary
# to have a separate control file to run the backdrop_filter stories as
# they require the --enable-experimental-web-platform-features flag
# (which should be added by RenderingStorySet - see Chromium source).
from autotest_lib.client.common_lib import utils
NAME = 'telemetry_Benchmarks.backdrop_filter.rendering.desktop'
METADATA = {
'contacts': ['cros-sw-perf@google.com'],
'bug_component': 'b:1045832', # ChromeOS > Software > Performance > TPS
'criteria': ('Executes the Telemetry Benchmark: rendering.desktop, '
'but only stories with tag backdrop_filter. '
'Pass local=True to run with local telemetry and no AFE '
'server.'),
'hw_agnostic': False
}
ATTRIBUTES = 'suite:crosbolt_perf_perbuild'
TEST_TYPE = 'server'
def run_benchmark(machine):
host = hosts.create_host(machine)
dargs = utils.args_to_dict(args)
dargs['extra_args'] = '--story-tag-filter=backdrop_filter'.split()
job.run_test('telemetry_Benchmarks', host=host,
benchmark='rendering.desktop',
tag='rendering.desktop',
args=dargs)
parallel_simple(run_benchmark, machines)