mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
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:
parent
93d5f56103
commit
a6696debd5
@ -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'"
|
||||
|
Loading…
Reference in New Issue
Block a user