mercurial/profiling.py
changeset 32851 cb6436e051ca
parent 32810 6675d23da748
child 32978 41b081ac2145
--- 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)