[Python-checkins] r46339 - sandbox/trunk/rjsh-pybench/Imports.py sandbox/trunk/rjsh-pybench/Lookups.py sandbox/trunk/rjsh-pybench/pybench.py
steve.holden
python-checkins at python.org
Fri May 26 17:03:27 CEST 2006
Author: steve.holden
Date: Fri May 26 17:03:21 2006
New Revision: 46339
Modified:
sandbox/trunk/rjsh-pybench/Imports.py
sandbox/trunk/rjsh-pybench/Lookups.py
sandbox/trunk/rjsh-pybench/pybench.py
Log:
More round count tweaks and output polishing.
Modified: sandbox/trunk/rjsh-pybench/Imports.py
==============================================================================
--- sandbox/trunk/rjsh-pybench/Imports.py (original)
+++ sandbox/trunk/rjsh-pybench/Imports.py Fri May 26 17:03:21 2006
@@ -8,7 +8,7 @@
version = 0.1
operations = 5 * 5
- rounds = 200*15
+ rounds = 2000*15
def test(self):
Modified: sandbox/trunk/rjsh-pybench/Lookups.py
==============================================================================
--- sandbox/trunk/rjsh-pybench/Lookups.py (original)
+++ sandbox/trunk/rjsh-pybench/Lookups.py Fri May 26 17:03:21 2006
@@ -371,7 +371,7 @@
version = 0.3
operations = 5*(12 + 12)
- rounds = 100*14
+ rounds = 1000*14
def test(self):
Modified: sandbox/trunk/rjsh-pybench/pybench.py
==============================================================================
--- sandbox/trunk/rjsh-pybench/pybench.py (original)
+++ sandbox/trunk/rjsh-pybench/pybench.py Fri May 26 17:03:21 2006
@@ -258,7 +258,7 @@
tests = self.tests.items()
tests.sort()
clock = time.clock
- print 'Running %i round(s) of the suite: ' % self.rounds, 'at warp factor', self.warp
+ print 'Running %i round(s) of the suite at warp factor %i:' % (self.rounds, self.warp)
print
roundtime = clock()
for i in range(self.rounds):
More information about the Python-checkins
mailing list