[PATCH 2 of 4] perf: add perfchangegroupchangelog command

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Sep 27 10:37:56 EDT 2016



On 09/24/2016 09:37 PM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1474744950 25200
> #      Sat Sep 24 12:22:30 2016 -0700
> # Node ID af899e2937e1a8058e82e3eaf6b2160f6cf98fa9
> # Parent  4567ac4e7248ace445195b9de10720bf54d47a7d
> 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.

I've pushed the first two. Patch 3 looks fine but is a bit too entangled 
with patch 4 which I've some question on.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list