Mercurial > hg
diff tests/test-contrib-perf.t @ 49414:3c5d0f879404
perf-unbundle: add a perf command to time the unbundle operation
Check documentation for details.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 12 Jul 2022 01:13:56 +0200 |
parents | b081a5aab782 |
children | 44d4fd09982f |
line wrap: on
line diff
--- a/tests/test-contrib-perf.t Mon Jul 11 23:30:24 2022 +0200 +++ b/tests/test-contrib-perf.t Tue Jul 12 01:13:56 2022 +0200 @@ -188,6 +188,8 @@ perf::tags (no help text available) perf::templating test the rendering time of a given template + perf::unbundle + benchmark application of a bundle in a repository. perf::unidiff benchmark a unified diff between revisions perf::volatilesets @@ -387,6 +389,15 @@ searching for changes searching for changes $ hg perf::bundle 'last(all(), 5)' + $ hg bundle --exact --rev 'last(all(), 5)' last-5.hg + 4 changesets found + $ hg perf::unbundle last-5.hg + adding changesets + adding manifests + adding file changes + transaction abort! + rollback completed + test profile-benchmark option ------------------------------