[PATCH 1 of 3 STABLE] revsetbenchmarks: modify existing benchmark to perform more work

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Sep 8 00:57:43 CDT 2014



On 09/08/2014 03:44 AM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1410114802 25200
> #      Sun Sep 07 11:33:22 2014 -0700
> # Node ID 473612a52fabce06be2851d64f8a45f314d30ac6
> # Parent  188b8aa2120b03eead618ba150319074f4e3b42b
> revsetbenchmarks: modify existing benchmark to perform more work
>
> The existing roots(x - y) revset only considered the most recent 100
> revisions. This was a good start. But expanding it to the full history
> of the repository can dramatically increase execution time and is a
> better benchmark.

It is not a better benchmark, it is a different benchmark. Testing with 
smaller entry set is valuable too.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list