equal
deleted
inserted
replaced
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. |