diff -r e33c9a47b0db -r cb6436e051ca mercurial/profiling.py --- a/mercurial/profiling.py Thu Jun 15 11:04:46 2017 -0700 +++ b/mercurial/profiling.py Thu Jun 15 11:10:51 2017 -0700 @@ -138,6 +138,9 @@ showmin = ui.configwith(fraction, 'profiling', 'showmin', 0.005) showmax = ui.configwith(fraction, 'profiling', 'showmax', 0.999) kwargs.update(minthreshold=showmin, maxthreshold=showmax) + elif profformat == 'hotpath': + limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05) + kwargs['limit'] = limit statprof.display(fp, data=data, format=displayformat, **kwargs)