[pypy-svn] r71867 - pypy/benchmarks

fijal at codespeak.net fijal at codespeak.net
Sat Mar 6 18:13:39 CET 2010


Author: fijal
Date: Sat Mar  6 18:13:37 2010
New Revision: 71867

Modified:
   pypy/benchmarks/benchmarks.py
Log:
Fix the scaling of iterations to previous number


Modified: pypy/benchmarks/benchmarks.py
==============================================================================
--- pypy/benchmarks/benchmarks.py	(original)
+++ pypy/benchmarks/benchmarks.py	Sat Mar  6 18:13:37 2010
@@ -23,6 +23,8 @@
             number = float(line.split(" ")[0])
             if name == 'tcp':
                 return 100*1024*1024/number
+            elif name == 'iteration':
+                return 10000/number
             else:
                 return 100/number
         bm_path = relative('own', 'twisted', name + '.py')



More information about the Pypy-commit mailing list