# HG changeset patch # User Pierre-Yves David # Date 1400535559 25200 # Node ID cb0e28d619059cc23c734df8e23738da715aee33 # Parent 43eecb4e23f879f880dce8518a7afe3c868a9655 revset-benchmark: add max(::(tip~20) - obsolete()) This revset is used in evolve. The new revset lazyness should make it all faster but in practice it is significantly slower. Below is a timing for this entry on my Mercurial repo. 2.9.2) ! wall 0.034598 comb 0.040000 user 0.040000 sys 0.000000 (best of 100) 3.0+@) ! wall 0.062268 comb 0.060000 user 0.060000 sys 0.000000 (best of 100) The ~20 have been taken arbitrary. diff -r 43eecb4e23f8 -r cb0e28d61905 contrib/revsetbenchmarks.txt --- a/contrib/revsetbenchmarks.txt Fri Feb 28 02:25:58 2014 +0100 +++ b/contrib/revsetbenchmarks.txt Mon May 19 14:39:19 2014 -0700 @@ -20,3 +20,4 @@ :10000 and public() draft() :10000 and draft() +max(::(tip~20) - obsolete())