[Python-checkins] r46496 - in sandbox/trunk/pybch: Tests/stringbench.py pybch.py

sean.reifschneider python-checkins at python.org
Sun May 28 12:32:02 CEST 2006


Author: sean.reifschneider
Date: Sun May 28 12:32:01 2006
New Revision: 46496

Modified:
   sandbox/trunk/pybch/Tests/stringbench.py
   sandbox/trunk/pybch/pybch.py
Log:
Latest version of pybch code before I travel.


Modified: sandbox/trunk/pybch/Tests/stringbench.py
==============================================================================
--- sandbox/trunk/pybch/Tests/stringbench.py	(original)
+++ sandbox/trunk/pybch/Tests/stringbench.py	Sun May 28 12:32:01 2006
@@ -10,9 +10,6 @@
 import optparse
 from TestHelpers import Test
 
-print sys.version
-print datetime.datetime.now()
-
 REPEAT = 1
 REPEAT = 3
 #REPEAT = 7

Modified: sandbox/trunk/pybch/pybch.py
==============================================================================
--- sandbox/trunk/pybch/pybch.py	(original)
+++ sandbox/trunk/pybch/pybch.py	Sun May 28 12:32:01 2006
@@ -6,6 +6,7 @@
 import time, sys, pickle, os
 
 verbose = 4
+verbose = 0
 
 ######################
 def rusageTimer(self):
@@ -125,6 +126,8 @@
             if verbose >= 2: print 'Calibrating...'
             test.cowlibrate()
             if verbose >= 3: print 'Calibrated to %d rounds' % test.rounds
+            print '%s.rounds = %d' % ( testClass, test.rounds )
+            continue
 
             if verbose >= 2: print 'Running tests...'
             first = None


More information about the Python-checkins mailing list