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.
This commit is contained in:
Matt Mackall 2015-05-22 12:14:23 -05:00
parent 93d5f56103
commit a6696debd5

View File

@ -898,7 +898,7 @@ def lsprofile(ui, func, fp):
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'"