Re: [PATCH 1 of 7] perf: document perfheads

2019-01-28 Thread Pulkit Goyal
On Tue, Jan 29, 2019 at 1:45 AM Boris Feld  wrote:

> # HG changeset patch
> # User Boris Feld 
> # Date 1548445951 18000
> #  Fri Jan 25 14:52:31 2019 -0500
> # Node ID f39f3732ef42fe901b418e23433475076b599757
> # Parent  431cf2c8c83969a68d132d6ba92af1998e147927
> # EXP-Topic perf-ext
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #  hg pull https://bitbucket.org/octobus/mercurial-devel/ -r
> f39f3732ef42
> perf: document perfheads
>

Queued 1-6, many thanks for continuous work on performance testing.
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


[PATCH 1 of 7] perf: document perfheads

2019-01-28 Thread Boris Feld
# HG changeset patch
# User Boris Feld 
# Date 1548445951 18000
#  Fri Jan 25 14:52:31 2019 -0500
# Node ID f39f3732ef42fe901b418e23433475076b599757
# Parent  431cf2c8c83969a68d132d6ba92af1998e147927
# EXP-Topic perf-ext
# Available At https://bitbucket.org/octobus/mercurial-devel/
#  hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 
f39f3732ef42
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'
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel