diff tests/test-contrib-perf.t @ 30018:bd6df07ccc24

perf: add perfchangegroupchangelog command This command can be used for testing the performance of producing the changelog portion of a changegroup. We could use additional perf* commands for testing other parts of changegroup. Those can be written another time, when they are needed. (And those may want to refactor the changegroup generation API so code can be reused.) Speaking of code reuse, yes, this command does reinvent a small wheel. I didn't want to scope bloat to change the changegroup API because that will invite bikeshedding.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 24 Sep 2016 12:22:30 -0700
parents 7109d5ddeb0c
children c8fa7ad1ff90
line wrap: on
line diff
--- a/tests/test-contrib-perf.t	Sat Sep 24 10:44:37 2016 -0700
+++ b/tests/test-contrib-perf.t	Sat Sep 24 12:22:30 2016 -0700
@@ -53,6 +53,8 @@
    perfbranchmap
                  benchmark the update of a branchmap
    perfcca       (no help text available)
+   perfchangegroupchangelog
+                 Benchmark producing a changelog group for a changegroup.
    perfchangeset
                  (no help text available)
    perfctxfiles  (no help text available)
@@ -112,6 +114,7 @@
   $ hg perfannotate a
   $ hg perfbranchmap
   $ hg perfcca
+  $ hg perfchangegroupchangelog
   $ hg perfchangeset 2
   $ hg perfctxfiles 2
   $ hg perfdiffwd