Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 43129:97f9ef777a75
perf: document `perfdirstatewrite`
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 08 Oct 2019 01:49:34 -0400 |
parents | ad801d4af7cd |
children | c88075eb28e3 |
line wrap: on
line diff
--- 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