Show More
@@ -581,6 +581,17 b' def perfpathcopies(ui, repo, rev1, rev2,' | |||||
581 | timer(d) |
|
581 | timer(d) | |
582 | fm.end() |
|
582 | fm.end() | |
583 |
|
583 | |||
|
584 | @command('perfphases', [], "") | |||
|
585 | def perfphases(ui, repo, **opts): | |||
|
586 | """benchmark phasesets computation""" | |||
|
587 | timer, fm = gettimer(ui, opts) | |||
|
588 | phases = repo._phasecache | |||
|
589 | def d(): | |||
|
590 | phases.invalidate() | |||
|
591 | phases.loadphaserevs(repo) | |||
|
592 | timer(d) | |||
|
593 | fm.end() | |||
|
594 | ||||
584 | @command('perfmanifest', [], 'REV') |
|
595 | @command('perfmanifest', [], 'REV') | |
585 | def perfmanifest(ui, repo, rev, **opts): |
|
596 | def perfmanifest(ui, repo, rev, **opts): | |
586 | timer, fm = gettimer(ui, opts) |
|
597 | timer, fm = gettimer(ui, opts) |
@@ -93,6 +93,7 b' perfstatus' | |||||
93 | perfparents (no help text available) |
|
93 | perfparents (no help text available) | |
94 | perfpathcopies |
|
94 | perfpathcopies | |
95 | (no help text available) |
|
95 | (no help text available) | |
|
96 | perfphases benchmark phasesets computation | |||
96 | perfrawfiles (no help text available) |
|
97 | perfrawfiles (no help text available) | |
97 | perfrevlog Benchmark reading a series of revisions from a revlog. |
|
98 | perfrevlog Benchmark reading a series of revisions from a revlog. | |
98 | perfrevlogchunks |
|
99 | perfrevlogchunks |
General Comments 0
You need to be logged in to leave comments.
Login now