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 5from autotest_lib.client.common_lib import utils 6 7AUTHOR = 'Chrome OS team' 8NAME = 'telemetry_Benchmarks.tab_switching.typical_25' 9ATTRIBUTES = 'suite:crosbolt_perf_nightly' 10TIME = 'MEDIUM' 11TEST_CATEGORY = 'Benchmark' 12TEST_CLASS = 'performance' 13TEST_TYPE = 'server' 14 15DOC = ''' 16This server side test suite executes the Telemetry Benchmark: 17tab_switching.typical_25 18This is part of Chrome for Chrome OS performance testing. 19 20Pass local=True to run with local telemetry and no AFE server. 21''' 22 23def run_benchmark(machine): 24 host = hosts.create_host(machine) 25 job.run_test('telemetry_Benchmarks', host=host, 26 benchmark='tab_switching.typical_25', 27 tag='tab_switching.typical_25', 28 args=utils.args_to_dict(args)) 29 30parallel_simple(run_benchmark, machines) 31