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

Unified Diff: tools/perf/run_measurement

Issue 17438002: [telemetry] test_runner and run_benchmarks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update docs? Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/run_benchmark ('k') | tools/telemetry/docs/telemetry.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/run_measurement
diff --git a/tools/perf/run_measurement b/tools/perf/run_measurement
index 509740af0246eebfd8bb4498821624870fb17c94..28cec9f5e7115b8b03fc40cc19525ddd9387ab2a 100755
--- a/tools/perf/run_measurement
+++ b/tools/perf/run_measurement
@@ -51,15 +51,12 @@ def main():
'http://src.chromium.org/viewvc/chrome/trunk/src/tools'
'/perf/perf_tools/' + DEPS_FILE)
import perf_tools
- import profile_creators
if '--print-bootstrap-deps' in sys.argv:
print ListBootstrapDeps()
sys.exit(0)
from telemetry.page import page_measurement_runner
import page_sets
- measurement_dir = os.path.dirname(perf_tools.__file__)
- profile_creators_dir = os.path.dirname(profile_creators.__file__)
page_set_filenames = page_sets.GetAllPageSetFilenames()
old_benchmark_names = {
@@ -86,8 +83,7 @@ def main():
return old_benchmark_names[arg]
runner = MeasurementRunner()
- sys.exit(
- runner.Run(measurement_dir, profile_creators_dir, page_set_filenames))
+ sys.exit(runner.Run(os.path.dirname(__file__), page_set_filenames))
if __name__ == '__main__':
sys.exit(main())
« no previous file with comments | « tools/perf/run_benchmark ('k') | tools/telemetry/docs/telemetry.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698