# HG changeset patch # User Gregory Szorc # Date 1410114802 25200 # Node ID a476ee0b8e799c1b9b82ad2db350c90a31274879 # Parent 48791c2bea1ceda4e4f28bc11651e281d636ce1a revsetbenchmarks: add an additional roots() benchmark 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 thus constitutes a useful benchmark. diff -r 48791c2bea1c -r a476ee0b8e79 contrib/revsetbenchmarks.txt --- a/contrib/revsetbenchmarks.txt Tue Sep 16 14:49:56 2014 -0500 +++ b/contrib/revsetbenchmarks.txt Sun Sep 07 11:33:22 2014 -0700 @@ -23,6 +23,7 @@ max(::(tip~20) - obsolete()) roots((0:tip)::) (not public() - obsolete()) +roots((0::) - (0::tip)) (_intlist('20000\x0020001')) and merge() parents(20000) (20000::) - (20000)