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

Side by Side Diff: tools/perf/run_measurement

Issue 103433002: [telemetry] Script for finding all Telemetry dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove file for realz Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « tools/perf/run_benchmark ('k') | tools/perf/run_tests » ('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) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 imp 6 import imp
7 import os 7 import os
8 import sys 8 import sys
9 import urllib2 9 import urllib2
10 10
11 11
12 BASE_URL = 'http://src.chromium.org/chrome/trunk/' 12 BASE_URL = 'http://src.chromium.org/chrome/trunk/'
13 DEPS_FILE = 'bootstrap_deps' 13 DEPS_FILE = 'bootstrap_deps'
14 14
15 SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__)) 15 SCRIPT_PATH = os.path.dirname(os.path.realpath(__file__))
16 # Directory containing src/ in a Chromium checkout. 16 # Directory containing src/ in a Chromium checkout.
17 CHECKOUT_BASE_PATH = os.path.join(SCRIPT_PATH, os.pardir, os.pardir, os.pardir) 17 CHECKOUT_BASE_PATH = os.path.join(SCRIPT_PATH, os.pardir, os.pardir, os.pardir)
18 # Directory in which to save bootstrap files. 18 # Directory in which to save bootstrap files.
19 BOOTSTRAP_BASE_PATH = os.path.join(SCRIPT_PATH, 'support', 'bootstrap_files') 19 BOOTSTRAP_BASE_PATH = os.path.join(SCRIPT_PATH, 'support', 'bootstrap_files')
20 20
21 PERF_DIR = os.path.join('src', 'tools', 'perf') 21 PERF_DIR = os.path.join('src', 'tools', 'perf')
22 TELEMETRY_DIR = os.path.join('src', 'tools', 'telemetry') 22 TELEMETRY_DIR = os.path.join('src', 'tools', 'telemetry')
23 TELEMETRY_TOOLS_DIR = os.path.join('src', 'tools', 'telemetry_tools') 23 TELEMETRY_TOOLS_DIR = os.path.join('src', 'tools', 'telemetry_tools')
24 24
25 25
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 arg, 119 arg,
120 old_benchmark_names.get(arg))) 120 old_benchmark_names.get(arg)))
121 return old_benchmark_names[arg] 121 return old_benchmark_names[arg]
122 122
123 runner = MeasurementRunner() 123 runner = MeasurementRunner()
124 return runner.Run(new_perf_path, page_set_filenames) 124 return runner.Run(new_perf_path, page_set_filenames)
125 125
126 126
127 if __name__ == '__main__': 127 if __name__ == '__main__':
128 sys.exit(Main()) 128 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/perf/run_benchmark ('k') | tools/perf/run_tests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698