##// END OF EJS Templates
perf: document `perfstatus`
marmoute -
r43390:97f80dd2 default
parent child Browse files
Show More
@@ -764,6 +764,13 b' def perfannotate(ui, repo, f, **opts):'
764 + formatteropts,
764 + formatteropts,
765 )
765 )
766 def perfstatus(ui, repo, **opts):
766 def perfstatus(ui, repo, **opts):
767 """benchmark the performance of a single status call
768
769 The repository data are preserved between each call.
770
771 By default, only the status of the tracked file are requested. If
772 `--unknown` is passed, the "unknown" files are also tracked.
773 """
767 opts = _byteskwargs(opts)
774 opts = _byteskwargs(opts)
768 # m = match.always(repo.root, repo.getcwd())
775 # m = match.always(repo.root, repo.getcwd())
769 # timer(lambda: sum(map(len, repo.dirstate.status(m, [], False, False,
776 # timer(lambda: sum(map(len, repo.dirstate.status(m, [], False, False,
@@ -172,7 +172,7 b' perfstatus'
172 perfrevrange (no help text available)
172 perfrevrange (no help text available)
173 perfrevset benchmark the execution time of a revset
173 perfrevset benchmark the execution time of a revset
174 perfstartup (no help text available)
174 perfstartup (no help text available)
175 perfstatus (no help text available)
175 perfstatus benchmark the performance of a single status call
176 perftags (no help text available)
176 perftags (no help text available)
177 perftemplating
177 perftemplating
178 test the rendering time of a given template
178 test the rendering time of a given template
General Comments 0
You need to be logged in to leave comments. Login now