##// END OF EJS Templates
contrib/perf: name functions to match decorators
timeless -
r27095:aaf4e2d7 default
parent child Browse files
Show More
@@ -193,7 +193,7 b' def perfdirstatedirs(ui, repo, **opts):'
193 fm.end()
193 fm.end()
194
194
195 @command('perfdirstatefoldmap', formatteropts)
195 @command('perfdirstatefoldmap', formatteropts)
196 def perffilefoldmap(ui, repo, **opts):
196 def perfdirstatefoldmap(ui, repo, **opts):
197 timer, fm = gettimer(ui, opts)
197 timer, fm = gettimer(ui, opts)
198 dirstate = repo.dirstate
198 dirstate = repo.dirstate
199 'a' in dirstate
199 'a' in dirstate
@@ -308,7 +308,7 b' def perfparents(ui, repo, **opts):'
308 fm.end()
308 fm.end()
309
309
310 @command('perfctxfiles', formatteropts)
310 @command('perfctxfiles', formatteropts)
311 def perfparents(ui, repo, x, **opts):
311 def perfctxfiles(ui, repo, x, **opts):
312 x = int(x)
312 x = int(x)
313 timer, fm = gettimer(ui, opts)
313 timer, fm = gettimer(ui, opts)
314 def d():
314 def d():
@@ -317,7 +317,7 b' def perfparents(ui, repo, x, **opts):'
317 fm.end()
317 fm.end()
318
318
319 @command('perfrawfiles', formatteropts)
319 @command('perfrawfiles', formatteropts)
320 def perfparents(ui, repo, x, **opts):
320 def perfrawfiles(ui, repo, x, **opts):
321 x = int(x)
321 x = int(x)
322 timer, fm = gettimer(ui, opts)
322 timer, fm = gettimer(ui, opts)
323 cl = repo.changelog
323 cl = repo.changelog
General Comments 0
You need to be logged in to leave comments. Login now