equal
deleted
inserted
replaced
136 |
136 |
137 if profformat == 'chrome': |
137 if profformat == 'chrome': |
138 showmin = ui.configwith(fraction, 'profiling', 'showmin', 0.005) |
138 showmin = ui.configwith(fraction, 'profiling', 'showmin', 0.005) |
139 showmax = ui.configwith(fraction, 'profiling', 'showmax', 0.999) |
139 showmax = ui.configwith(fraction, 'profiling', 'showmax', 0.999) |
140 kwargs.update(minthreshold=showmin, maxthreshold=showmax) |
140 kwargs.update(minthreshold=showmin, maxthreshold=showmax) |
|
141 elif profformat == 'hotpath': |
|
142 limit = ui.configwith(fraction, 'profiling', 'showmin', 0.05) |
|
143 kwargs['limit'] = limit |
141 |
144 |
142 statprof.display(fp, data=data, format=displayformat, **kwargs) |
145 statprof.display(fp, data=data, format=displayformat, **kwargs) |
143 |
146 |
144 class profile(object): |
147 class profile(object): |
145 """Start profiling. |
148 """Start profiling. |