revsetbenchmarks: use many more variants by default
authorPierre-Yves David <pierre-yves.david@fb.com>
Tue, 09 Jun 2015 21:10:44 -0700
changeset 25542 6d937c49d935
parent 25541 80ce5bce281f
child 25543 36336cc8cfab
revsetbenchmarks: use many more variants by default So far the variants feature was introduced, but not used by default. We now use a set of basic variants by default.
contrib/revsetbenchmarks.py
--- a/contrib/revsetbenchmarks.py	Tue Jun 09 21:20:54 2015 -0700
+++ b/contrib/revsetbenchmarks.py	Tue Jun 09 21:10:44 2015 -0700
@@ -16,7 +16,7 @@
 # cannot use argparse, python 2.7 only
 from optparse import OptionParser
 
-DEFAULTVARIANTS = ['plain']
+DEFAULTVARIANTS = ['plain', 'min', 'max', 'first', 'last', 'reverse', 'sort']
 
 def check_output(*args, **kwargs):
     kwargs.setdefault('stderr', PIPE)