[pypy-svn] r58587 - pypy/build/benchmem/benchmark

hpk at codespeak.net hpk at codespeak.net
Fri Oct 3 13:21:41 CEST 2008


Author: hpk
Date: Fri Oct  3 13:21:40 2008
New Revision: 58587

Modified:
   pypy/build/benchmem/benchmark/sizes.py
Log:
on the N810 the messages benchmark consumes far more than 128 MB, use less

Modified: pypy/build/benchmem/benchmark/sizes.py
==============================================================================
--- pypy/build/benchmem/benchmark/sizes.py	(original)
+++ pypy/build/benchmem/benchmark/sizes.py	Fri Oct  3 13:21:40 2008
@@ -361,7 +361,7 @@
 
 def bench_list_of_messages(iter1):
     x = []
-    for i in range(iter1):
+    for i in range(iter1/10):
         # make block-looking 40-lines, 72-columns e-mails
         msg = Message()
         msg.set_payload(('%072d' % i) * 40)



More information about the Pypy-commit mailing list