[Python-checkins] python/nondist/sandbox/parrotbench README.txt, 1.2, 1.3

gvanrossum at users.sourceforge.net gvanrossum at users.sourceforge.net
Wed Dec 31 11:38:35 EST 2003


Update of /cvsroot/python/python/nondist/sandbox/parrotbench
In directory sc8-pr-cvs1:/tmp/cvs-serv19327

Modified Files:
	README.txt 
Log Message:
Notes on __debug__ and timing.


Index: README.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/README.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** README.txt	31 Dec 2003 07:54:58 -0000	1.2
--- README.txt	31 Dec 2003 16:38:33 -0000	1.3
***************
*** 64,66 ****
--- 64,78 ----
  objects.
  
+ On the use of __debug__: this is a built-in variable, set to True
+ normally and to False when Python is invoked with -O.  I use this to
+ produce verbose output without -O but minimal output with it.  For the
+ actual benchmark, Python should use -O, and Dan can simply set
+ __debug__ to False in the builtins if he prefers.
+ 
+ On timing: there's a requirement that the benchmark runs for at least
+ 30 seconds.  It currently runs for nearly a minute on my home box,
+ which is a four-year-old 650 MHz Pentium box.  If the contest hardware
+ is so fast that it runs under a minute, there's a number in b.py that
+ can be cranked up to increase the number of runs.
+ 
  --Guido van Rossum (home page: http://www.python.org/~guido/)





More information about the Python-checkins mailing list