Show More
@@ -539,10 +539,11 b' def perfheads(ui, repo, **opts):' | |||
|
539 | 539 | opts = _byteskwargs(opts) |
|
540 | 540 | timer, fm = gettimer(ui, opts) |
|
541 | 541 | cl = repo.changelog |
|
542 | def s(): | |
|
543 | clearcaches(cl) | |
|
542 | 544 | def d(): |
|
543 | 545 | len(cl.headrevs()) |
|
544 | clearcaches(cl) | |
|
545 | timer(d) | |
|
546 | timer(d, setup=s) | |
|
546 | 547 | fm.end() |
|
547 | 548 | |
|
548 | 549 | @command(b'perftags', formatteropts+ |
General Comments 0
You need to be logged in to leave comments.
Login now