Mercurial > hg-stable
changeset 22458:a476ee0b8e79
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.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 07 Sep 2014 11:33:22 -0700 |
parents | 48791c2bea1c |
children | 0c7b018d3258 |
files | contrib/revsetbenchmarks.txt |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)