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

Unified Diff: tools/telemetry/run.py

Issue 928643002: [NOT FOR SUBMIT] Profile the time spent in BrowserOptions.CreateParser() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « profiling.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/run.py
diff --git a/tools/telemetry/run.py b/tools/telemetry/run.py
new file mode 100644
index 0000000000000000000000000000000000000000..18404b7c84dc63287c967698413233a24652699f
--- /dev/null
+++ b/tools/telemetry/run.py
@@ -0,0 +1,14 @@
+import cProfile
+import os
+import sys
+
+sys.path.append(os.path.join(os.path.dirname(__file__)))
+
+from telemetry.core import browser_options
+
+def CreateParser():
+ options = browser_options.BrowserFinderOptions()
+ options.CreateParser()
+
+if __name__ == '__main__':
+ CreateParser()
« no previous file with comments | « profiling.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698