# HG changeset patch # User Pierre-Yves David # Date 1570513774 14400 # Node ID 97f9ef777a75ff2865c054eaf6b9cca92673001a # Parent ad801d4af7cdeee09de09b84a17936a1651bf017 perf: document `perfdirstatewrite` diff -r ad801d4af7cd -r 97f9ef777a75 contrib/perf.py --- a/contrib/perf.py Tue Oct 08 02:12:15 2019 -0400 +++ b/contrib/perf.py Tue Oct 08 01:49:34 2019 -0400 @@ -1185,6 +1185,8 @@ @command(b'perfdirstatewrite', formatteropts) def perfdirstatewrite(ui, repo, **opts): + """benchmap the time it take to write a dirstate on disk + """ opts = _byteskwargs(opts) timer, fm = gettimer(ui, opts) ds = repo.dirstate diff -r ad801d4af7cd -r 97f9ef777a75 tests/test-contrib-perf.t --- a/tests/test-contrib-perf.t Tue Oct 08 02:12:15 2019 -0400 +++ b/tests/test-contrib-perf.t Tue Oct 08 01:49:34 2019 -0400 @@ -113,7 +113,7 @@ perfdirstatefoldmap benchmap a 'dirstate._map.filefoldmap.get()' request perfdirstatewrite - (no help text available) + benchmap the time it take to write a dirstate on disk perfdiscovery benchmark discovery between local repo and the peer at given path