[Python-checkins] benchmarks: Disable timelines by default. The option to enable timelines is `-t`.

antoine.pitrou python-checkins at python.org
Sat Apr 20 22:06:18 CEST 2013


http://hg.python.org/benchmarks/rev/5d4ecadca0d5
changeset:   202:5d4ecadca0d5
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sat Apr 20 22:06:11 2013 +0200
summary:
  Disable timelines by default.  The option to enable timelines is `-t`.

files:
  perf.py |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/perf.py b/perf.py
--- a/perf.py
+++ b/perf.py
@@ -2341,8 +2341,9 @@
                             "assumed to be the directory containing this "
                             "file. This is typically used when comparing a "
                             "Python 2.x interpreter to a 3.x one."))
-    parser.add_option("-T", "--disable_timelines", default=False, action="store_true",
-                      help="Don't use Google charts for displaying timelines.")
+    parser.add_option("-t", "--enable_timelines", default=True,
+                      action="store_false", dest="disable_timelines",
+                      help="Use Google charts for displaying timelines.")
     parser.add_option("-O", "--output_style", metavar="STYLE", type="string",
                       action="callback", callback=ParseOutputStyle,
                       default="normal",

-- 
Repository URL: http://hg.python.org/benchmarks


More information about the Python-checkins mailing list