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

Unified Diff: chrome/renderer/render_process.cc

Issue 118384: Turn on DevTools Profiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « no previous file | webkit/glue/devtools/js/inspector_controller_impl.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_process.cc
===================================================================
--- chrome/renderer/render_process.cc (revision 17852)
+++ chrome/renderer/render_process.cc (working copy)
@@ -100,7 +100,9 @@
if (!command_line.HasSwitch(switches::kDisableOutOfProcessDevTools)) {
// Out of process dev tools rely upon auto break behavior.
- webkit_glue::SetJavaScriptFlags(L"--debugger-auto-break");
+ webkit_glue::SetJavaScriptFlags(L"--debugger-auto-break"
+ // Enable lazy in-memory profiling.
+ L" --prof --prof-lazy --logfile=*");
}
if (command_line.HasSwitch(switches::kEnableWatchdog)) {
« no previous file with comments | « no previous file | webkit/glue/devtools/js/inspector_controller_impl.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698