Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 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 | 8de7d1d937b3 |
children | 101e84121c13 |
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'"