# HG changeset patch # User Boris Feld # Date 1531298775 -7200 # Node ID 9b6a708f226359265b95068c81f52ac873ca36e4 # Parent 3700564c63fee7b26ca948e75dee2ea631b1dd4e perf: document the perfmanifest command diff -r 3700564c63fe -r 9b6a708f2263 contrib/perf.py --- a/contrib/perf.py Sat Jun 09 22:38:29 2018 +0900 +++ b/contrib/perf.py Wed Jul 11 10:46:15 2018 +0200 @@ -774,6 +774,10 @@ @command('perfmanifest', [], 'REV') def perfmanifest(ui, repo, rev, **opts): + """benchmark the time to read a manifest from disk and return a usable + dict-like object + + Manifest caches are cleared before retrieval.""" timer, fm = gettimer(ui, opts) ctx = scmutil.revsingle(repo, rev, rev) t = ctx.manifestnode() diff -r 3700564c63fe -r 9b6a708f2263 tests/test-contrib-perf.t --- a/tests/test-contrib-perf.t Sat Jun 09 22:38:29 2018 +0900 +++ b/tests/test-contrib-perf.t Wed Jul 11 10:46:15 2018 +0200 @@ -88,7 +88,8 @@ perflookup (no help text available) perflrucachedict (no help text available) - perfmanifest (no help text available) + perfmanifest benchmark the time to read a manifest from disk and return a + usable perfmergecalculate (no help text available) perfmoonwalk benchmark walking the changelog backwards