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

Unified Diff: tools/perf/run_multipage_benchmarks

Issue 14359012: Telemetry: Add option to create a dirty profile as part of a test run (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix to unit tests Created 7 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 side-by-side diff with in-line comments
Download patch
Index: tools/perf/run_multipage_benchmarks
diff --git a/tools/perf/run_multipage_benchmarks b/tools/perf/run_multipage_benchmarks
index f2370d7bb8a60b3672a782032e5079a57abebb76..746222ef9507be757d17a8d802fb24f42b6302ea 100755
--- a/tools/perf/run_multipage_benchmarks
+++ b/tools/perf/run_multipage_benchmarks
@@ -50,6 +50,7 @@ if __name__ == '__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)
@@ -57,6 +58,7 @@ if __name__ == '__main__':
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 = {
@@ -83,4 +85,5 @@ if __name__ == '__main__':
return old_benchmark_names[arg]
runner = MeasurementRunner()
- sys.exit(runner.Run(measurement_dir, page_set_filenames))
+ sys.exit(
+ runner.Run(measurement_dir, profile_creators_dir, page_set_filenames))
« no previous file with comments | « tools/perf/profile_creators/small_profile_creator.py ('k') | tools/telemetry/telemetry/core/browser_options.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698