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

Side by Side Diff: tools/perf/run_benchmark

Issue 2840213003: Move blink_perf.xml_http_request benchmark to tools/perf/contrib/ directory (Closed)
Patch Set: Simplify benchmark_finders code Created 3 years, 7 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 | « tools/perf/core/trybot_command.py ('k') | no next file » | 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 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 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 5
6 import sys 6 import sys
7 7
8 from core import path_util 8 from core import path_util
9 from core import trybot_command 9 from core import trybot_command
10 sys.path.insert(1, path_util.GetTelemetryDir()) 10 sys.path.insert(1, path_util.GetTelemetryDir())
11 11
12 from telemetry import benchmark_runner 12 from telemetry import benchmark_runner
13 13
14 from chrome_telemetry_build import chromium_config 14 from chrome_telemetry_build import chromium_config
15 15
16 16
17 def main(): 17 def main():
18 config = chromium_config.ChromiumConfig( 18 config = chromium_config.ChromiumConfig(
19 benchmark_dirs=[path_util.GetPerfBenchmarksDir()], 19 benchmark_dirs=[path_util.GetPerfBenchmarksDir(),
20 path_util.GetPerfContribDir()],
20 top_level_dir=path_util.GetPerfDir()) 21 top_level_dir=path_util.GetPerfDir())
21 return benchmark_runner.main(config, [trybot_command.Trybot]) 22 return benchmark_runner.main(config, [trybot_command.Trybot])
22 23
23 24
24 if __name__ == '__main__': 25 if __name__ == '__main__':
25 sys.exit(main()) 26 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/perf/core/trybot_command.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698