Roll src/third_party/WebKit 4619053:6b63e20 (svn 201059:201060)
[chromium-blink-merge.git] / tools / chrome_proxy / run_benchmark
blob7d5a3f7f140694c1f218e0a4c541dc1511292e61
1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 import os
7 import sys
9 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'telemetry'))
10 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, 'perf'))
12 from telemetry import benchmark_runner
15 if __name__ == '__main__':
16 top_level_dir = os.path.dirname(os.path.realpath(__file__))
17 config = benchmark_runner.ProjectConfig(
18 top_level_dir=top_level_dir,
19 benchmark_dirs=[os.path.join(top_level_dir, 'integration_tests')])
20 sys.exit(benchmark_runner.main(config))