Home | History | Annotate | Download | only in telemetry_Benchmarks
      1 # Copyright 2017 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 
      7 from autotest_lib.client.common_lib import utils
      8 
      9 AUTHOR = 'sbasi, achuith, rohitbm'
     10 NAME = 'telemetry_Benchmarks.memory.desktop'
     11 ATTRIBUTES = 'suite:crosbolt_perf_nightly'
     12 TIME = 'LONG'
     13 TEST_CATEGORY = 'Benchmark'
     14 TEST_CLASS = 'performance'
     15 TEST_TYPE = 'server'
     16 
     17 DOC = '''
     18 This server side test suite executes the Telemetry Benchmark:
     19 memory.desktop
     20 This is part of Chrome for Chrome OS performance testing.
     21 
     22 Pass local=True to run with local telemetry and no AFE server.
     23 '''
     24 
     25 def 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='memory.desktop',
     31                  tag='memory.desktop',
     32                  args=dargs)
     33 
     34 parallel_simple(run_benchmark, machines)