[pypy-svn] r60160 - pypy/build/benchmem

hpk at codespeak.net hpk at codespeak.net
Wed Nov 26 17:03:36 CET 2008


Author: hpk
Date: Wed Nov 26 17:03:35 2008
New Revision: 60160

Modified:
   pypy/build/benchmem/runbench.py
Log:
during our phone call alexander and me found out 
that the gc.collect() dirties much of the IP static data - 
and it seems that that the applications benchmarks 
never trigger the equivalent of such a gc.collect() run 
for -O3 ... 

not doing the gc.collect() hear lets pypy produce 
a slightly larger heap. 



Modified: pypy/build/benchmem/runbench.py
==============================================================================
--- pypy/build/benchmem/runbench.py	(original)
+++ pypy/build/benchmem/runbench.py	Wed Nov 26 17:03:35 2008
@@ -75,7 +75,7 @@
         print >>self.logstream
 
     def run(self):
-        cmds = [str(self.executable_full_path), '-S', '-c',  '''import sys, gc; gc.collect(); sys.stdout.write("F"); sys.stdout.flush(); raw_input()''']
+        cmds = [str(self.executable_full_path), '-S', '-c',  '''import sys, sys.stdout.write("F"); sys.stdout.flush(); raw_input()''']
         self.log("running %r" % (cmds, ))
         popen = Popen(cmds, shell=False, stdin=PIPE, stdout=PIPE, close_fds=True)
         self.write_benchheader()



More information about the Pypy-commit mailing list