equal
deleted
inserted
replaced
141 showmax = ui.configwith(fraction, 'profiling', 'showmax') |
141 showmax = ui.configwith(fraction, 'profiling', 'showmax') |
142 kwargs.update(minthreshold=showmin, maxthreshold=showmax) |
142 kwargs.update(minthreshold=showmin, maxthreshold=showmax) |
143 elif profformat == 'hotpath': |
143 elif profformat == 'hotpath': |
144 # inconsistent config: profiling.showmin |
144 # inconsistent config: profiling.showmin |
145 limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05) |
145 limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05) |
146 kwargs['limit'] = limit |
146 kwargs[r'limit'] = limit |
147 |
147 |
148 statprof.display(fp, data=data, format=displayformat, **kwargs) |
148 statprof.display(fp, data=data, format=displayformat, **kwargs) |
149 |
149 |
150 class profile(object): |
150 class profile(object): |
151 """Start profiling. |
151 """Start profiling. |