##// END OF EJS Templates
revsetbenchmarks: add main documention for the script...
Pierre-Yves David -
r25607:ddb2a648 default
parent child Browse files
Show More
@@ -209,8 +209,14 b' def applyvariants(revset, variant):'
209 209 revset = '%s(%s)' % (var, revset)
210 210 return revset
211 211
212
213 parser = OptionParser(usage="usage: %prog [options] <revs>")
212 helptext="""This script will run multiple variants of provided revsets using
213 different revisions in your mercurial repository. After the benchmark are run
214 summary output is provided. Use itto demonstrate speed improvements or pin
215 point regressions. Revsets to run are specified in a file (or from stdin), one
216 revsets per line. Line starting with '#' will be ignored, allowing insertion of
217 comments."""
218 parser = OptionParser(usage="usage: %prog [options] <revs>",
219 description=helptext)
214 220 parser.add_option("-f", "--file",
215 221 help="read revset from FILE (stdin if omitted)",
216 222 metavar="FILE")
General Comments 0
You need to be logged in to leave comments. Login now