##// END OF EJS Templates
configitems: register the 'profiling.showmax' config
Boris Feld -
r34411:fecea78f default
parent child Browse files
Show More
@@ -338,6 +338,9 b" coreconfigitem('profiling', 'nested',"
338 338 coreconfigitem('profiling', 'output',
339 339 default=None,
340 340 )
341 coreconfigitem('profiling', 'showmax',
342 default=0.999,
343 )
341 344 coreconfigitem('profiling', 'sort',
342 345 default='inlinetime',
343 346 )
@@ -138,7 +138,7 b' def statprofile(ui, fp):'
138 138
139 139 if profformat == 'chrome':
140 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 142 kwargs.update(minthreshold=showmin, maxthreshold=showmax)
143 143 elif profformat == 'hotpath':
144 144 # inconsistent config: profiling.showmin
General Comments 0
You need to be logged in to leave comments. Login now