# HG changeset patch # User Matt Mackall # Date 1432314863 18000 # Node ID 0f2dcbccf9c983230b2037f000ce74bf5ba6b7ee # Parent c436ba9d6ac076f1e8f63d40922a5032db4f5f94 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. diff -r c436ba9d6ac0 -r 0f2dcbccf9c9 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'"