Mercurial > hg
changeset 25277:0f2dcbccf9c9
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.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 22 May 2015 12:14:23 -0500 |
parents | c436ba9d6ac0 |
children | 858618d43524 |
files | mercurial/dispatch.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'"