mercurial/profiling.py
changeset 42423 0ae593e791fb
parent 40418 89703e6151e7
child 43076 2372284d9457
equal deleted inserted replaced
42422:381d8fa53f34 42423:0ae593e791fb
   145             kwargs.update(minthreshold=showmin, maxthreshold=showmax)
   145             kwargs.update(minthreshold=showmin, maxthreshold=showmax)
   146         elif profformat == 'hotpath':
   146         elif profformat == 'hotpath':
   147             # inconsistent config: profiling.showmin
   147             # inconsistent config: profiling.showmin
   148             limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05)
   148             limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05)
   149             kwargs[r'limit'] = limit
   149             kwargs[r'limit'] = limit
       
   150             showtime = ui.configbool('profiling', 'showtime')
       
   151             kwargs[r'showtime'] = showtime
   150 
   152 
   151         statprof.display(fp, data=data, format=displayformat, **kwargs)
   153         statprof.display(fp, data=data, format=displayformat, **kwargs)
   152 
   154 
   153 class profile(object):
   155 class profile(object):
   154     """Start profiling.
   156     """Start profiling.