Chromium Code Reviews| Index: tools/perf/run_benchmarks |
| diff --git a/tools/perf/run_benchmarks b/tools/perf/run_benchmarks |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..434000e2180ac067706ad62ac390208031a577c7 |
| --- /dev/null |
| +++ b/tools/perf/run_benchmarks |
| @@ -0,0 +1,13 @@ |
| +#!/usr/bin/env python |
|
tonyg
2013/06/19 16:40:15
Should this file be called run_benchmark instead o
dtu
2013/06/19 21:22:58
Shrug, could go either way. It can run both a sing
|
| +# Copyright (c) 2013 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. |
| +import os |
| +import sys |
| + |
| +sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry')) |
|
tonyg
2013/06/19 16:40:15
Is this core.GetTelemetryDir()?
dtu
2013/06/19 21:22:58
Yes, but we need to do this first in order to impo
|
| + |
| +from telemetry import test_runner |
| + |
| +if __name__ == '__main__': |
| + sys.exit(test_runner.Main()) |