• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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 = 'sbasi, achuith, rohitbm'
10NAME = 'telemetry_Benchmarks.mash.cros_ui_smoothness'
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:
19cros_ui_smoothness
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'] = '--extra-browser-args=--enable-features=SingleProcessMash'.split()
29    job.run_test('telemetry_Benchmarks', host=host,
30                 benchmark='cros_ui_smoothness',
31                 tag='cros_ui_smoothness',
32                 args=dargs)
33
34parallel_simple(run_benchmark, machines)
35