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

fijal at codespeak.net fijal at codespeak.net
Tue Oct 21 12:19:13 CEST 2008


Author: fijal
Date: Tue Oct 21 12:19:13 2008
New Revision: 59291

Modified:
   pypy/build/benchmem/benchmark/appprofiles.py
Log:
add ability to run it by hand


Modified: pypy/build/benchmem/benchmark/appprofiles.py
==============================================================================
--- pypy/build/benchmem/benchmark/appprofiles.py	(original)
+++ pypy/build/benchmem/benchmark/appprofiles.py	Tue Oct 21 12:19:13 2008
@@ -39,4 +39,8 @@
             next = one(j, j, next)
         alive[i] = one(i, i, i)
 
-    
+
+if __name__ == '__main__':
+    bench_allocate_and_throw_away(100000, 3)
+    bench_allocate_couple(100000, 3)
+    bench_allocate_constant_number(100000, 3)



More information about the Pypy-commit mailing list