[pypy-svn] r23009 - pypy/dist/pypy/translator/microbench
pedronis at codespeak.net
pedronis at codespeak.net
Fri Feb 3 21:33:52 CET 2006
Author: pedronis
Date: Fri Feb 3 21:33:50 2006
New Revision: 23009
Added:
pypy/dist/pypy/translator/microbench/test_bltn.py
- copied, changed from r22991, pypy/dist/pypy/translator/microbench/test_count1.py
Modified:
pypy/dist/pypy/translator/microbench/test_count1.py
Log:
some more microbenchmarks
Modified: pypy/dist/pypy/translator/microbench/test_count1.py
==============================================================================
--- pypy/dist/pypy/translator/microbench/test_count1.py (original)
+++ pypy/dist/pypy/translator/microbench/test_count1.py Fri Feb 3 21:33:50 2006
@@ -26,6 +26,15 @@
while x < n:
x = plus2(x)
+def test_call_nested_function_many_args():
+ def plus2(x, y1, y2, y3, y4):
+ return x + 1
+
+ x = 0
+ n = N
+ while x < n:
+ x = plus2(x, 2, 3, 4, 5)
+
#
class MyOldStyleClass:
def my_method(self, x):
More information about the Pypy-commit
mailing list