| Index: tools/perf/ct_run_benchmark
|
| diff --git a/tools/perf/run_benchmark b/tools/perf/ct_run_benchmark
|
| similarity index 56%
|
| copy from tools/perf/run_benchmark
|
| copy to tools/perf/ct_run_benchmark
|
| index e077bb62a4d789b3908b4c4f52bef14c0dc08a07..f42ce08d49e854a8f304d90a1dc9ecfbeffd579e 100755
|
| --- a/tools/perf/run_benchmark
|
| +++ b/tools/perf/ct_run_benchmark
|
| @@ -1,8 +1,11 @@
|
| #!/usr/bin/env python
|
| -# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +# Copyright (c) 2014 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +# This script finds and executes benchmarks which live in Cluster Telemetry's
|
| +# repository.
|
| +
|
| import os
|
| import sys
|
|
|
| @@ -12,7 +15,11 @@ from telemetry import benchmark_runner
|
| from telemetry.core import environment
|
|
|
|
|
| +CT_BASE_DIR = os.path.join('/', 'b', 'storage', 'benchmarks')
|
| +sys.path.append(os.path.join(CT_BASE_DIR))
|
| +
|
| +
|
| if __name__ == '__main__':
|
| base_dir = os.path.dirname(os.path.realpath(__file__))
|
| - benchmark_runner.config = environment.Environment([base_dir])
|
| + benchmark_runner.config = environment.Environment([CT_BASE_DIR])
|
| sys.exit(benchmark_runner.main())
|
|
|