equal
deleted
inserted
replaced
136 return v |
136 return v |
137 raise ValueError(s) |
137 raise ValueError(s) |
138 |
138 |
139 if profformat == 'chrome': |
139 if profformat == 'chrome': |
140 showmin = ui.configwith(fraction, 'profiling', 'showmin', 0.005) |
140 showmin = ui.configwith(fraction, 'profiling', 'showmin', 0.005) |
141 showmax = ui.configwith(fraction, 'profiling', 'showmax', 0.999) |
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['limit'] = limit |