perf: document perfheads
authorBoris Feld <boris.feld@octobus.net>
Fri, 25 Jan 2019 14:52:31 -0500
changeset 41456 48394923fbdc
parent 41455 3757a968d63a
child 41457 e2e815e3c4ae
perf: document perfheads
contrib/perf.py
tests/test-contrib-perf.t
--- a/contrib/perf.py	Sun Jan 27 22:32:09 2019 -0500
+++ b/contrib/perf.py	Fri Jan 25 14:52:31 2019 -0500
@@ -535,6 +535,7 @@
 
 @command(b'perfheads', formatteropts)
 def perfheads(ui, repo, **opts):
+    """benchmark the computation of a changelog heads"""
     opts = _byteskwargs(opts)
     timer, fm = gettimer(ui, opts)
     cl = repo.changelog
--- a/tests/test-contrib-perf.t	Sun Jan 27 22:32:09 2019 -0500
+++ b/tests/test-contrib-perf.t	Fri Jan 25 14:52:31 2019 -0500
@@ -88,7 +88,7 @@
                  (no help text available)
    perffncachewrite
                  (no help text available)
-   perfheads     (no help text available)
+   perfheads     benchmark the computation of a changelog heads
    perfhelper-pathcopies
                  find statistic about potential parameters for the
                  'perftracecopies'