# HG changeset patch # User Boris Feld # Date 2019-01-25 19:52:31 # Node ID 48394923fbdc4fe9144bc054247a0d7c1adb613c # Parent 3757a968d63ad17205b55b80def05d485947b18b perf: document perfheads diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -535,6 +535,7 @@ def clearcaches(cl): @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 diff --git a/tests/test-contrib-perf.t b/tests/test-contrib-perf.t --- a/tests/test-contrib-perf.t +++ b/tests/test-contrib-perf.t @@ -88,7 +88,7 @@ perfstatus (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'