Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: telemetry/examples/run_benchmark

Issue 2291313002: [Telemetry] Add 'check_independent' command to benchmark_runner (Closed)
Patch Set: add testdata __init__.py Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | telemetry/telemetry/benchmark_runner.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 import os 5 import os
6 import sys 6 import sys
7 7
8 sys.path.append(os.path.join(os.path.dirname(__file__), '..')) 8 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
9 from telemetry import benchmark_runner 9 from telemetry import benchmark_runner
10 from telemetry import project_config
10 11
11 def main(): 12 def main():
12 top_level_dir = os.path.dirname(__file__) 13 top_level_dir = os.path.dirname(__file__)
13 config = benchmark_runner.ProjectConfig( 14 config = project_config.ProjectConfig(
14 top_level_dir=top_level_dir, 15 top_level_dir=top_level_dir,
15 benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')]) 16 benchmark_dirs=[os.path.join(top_level_dir, 'benchmarks')])
16 return benchmark_runner.main(config) 17 return benchmark_runner.main(config)
17 18
18 if __name__ == '__main__': 19 if __name__ == '__main__':
19 sys.exit(main()) 20 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | telemetry/telemetry/benchmark_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698