changeset 41456:48394923fbdc

perf: document perfheads
author Boris Feld <boris.feld@octobus.net>
date Fri, 25 Jan 2019 14:52:31 -0500
parents 3757a968d63a
children e2e815e3c4ae
files contrib/perf.py tests/test-contrib-perf.t
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'