Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 43125:56494a2bfe2f
perf: document `perfdirstatefoldmap`
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 08 Oct 2019 01:48:10 -0400 |
parents | 100e7e0cdaad |
children | e337d8247375 |
line wrap: on
line diff
--- a/contrib/perf.py Tue Oct 08 02:08:41 2019 -0400 +++ b/contrib/perf.py Tue Oct 08 01:48:10 2019 -0400 @@ -1142,6 +1142,10 @@ @command(b'perfdirstatefoldmap', formatteropts) def perfdirstatefoldmap(ui, repo, **opts): + """benchmap a `dirstate._map.filefoldmap.get()` request + + The dirstate filefoldmap cache is dropped between every request. + """ opts = _byteskwargs(opts) timer, fm = gettimer(ui, opts) dirstate = repo.dirstate