• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 The Chromium OS 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# Do not edit this file! It was created by generate_controlfiles.py.
6
7from autotest_lib.client.common_lib import utils
8
9AUTHOR = 'Chrome OS Team'
10NAME = 'telemetry_Benchmarks.media.desktop'
11ATTRIBUTES = 'suite:crosbolt_perf_nightly'
12TIME = 'LONG'
13TEST_CATEGORY = 'Benchmark'
14TEST_CLASS = 'performance'
15TEST_TYPE = 'server'
16
17DOC = '''
18This server side test suite executes the Telemetry Benchmark:
19media.desktop
20This is part of Chrome for Chrome OS performance testing.
21
22Pass local=True to run with local telemetry and no AFE server.
23'''
24
25def run_benchmark(machine):
26    host = hosts.create_host(machine)
27    dargs = utils.args_to_dict(args)
28    dargs['extra_args'] = ''.split()
29    job.run_test('telemetry_Benchmarks', host=host,
30                 benchmark='media.desktop',
31                 tag='media.desktop',
32                 args=dargs)
33
34parallel_simple(run_benchmark, machines)