profile: disable nested report in lsprof by default
authorMatt Mackall <mpm@selenic.com>
Fri, 22 May 2015 12:14:23 -0500
changeset 25277 0f2dcbccf9c9
parent 25276 c436ba9d6ac0
child 25278 858618d43524
profile: disable nested report in lsprof by default The nesting makes profiles harder to read and often pushes important data off the end of the report.
mercurial/dispatch.py
--- a/mercurial/dispatch.py	Tue May 19 11:16:20 2015 -0700
+++ b/mercurial/dispatch.py	Fri May 22 12:14:23 2015 -0500
@@ -898,7 +898,7 @@
     format = ui.config('profiling', 'format', default='text')
     field = ui.config('profiling', 'sort', default='inlinetime')
     limit = ui.configint('profiling', 'limit', default=30)
-    climit = ui.configint('profiling', 'nested', default=5)
+    climit = ui.configint('profiling', 'nested', default=0)
 
     if format not in ['text', 'kcachegrind']:
         ui.warn(_("unrecognized profiling format '%s'"