[pypy-svn] r56907 - pypy/branch/garden-call-code/pypy/interpreter/callbench
pedronis at codespeak.net
pedronis at codespeak.net
Sat Aug 2 01:40:14 CEST 2008
Author: pedronis
Date: Sat Aug 2 01:40:12 2008
New Revision: 56907
Modified:
pypy/branch/garden-call-code/pypy/interpreter/callbench/inst.py
Log:
benchmark the case of some actual parameters being passed around
Modified: pypy/branch/garden-call-code/pypy/interpreter/callbench/inst.py
==============================================================================
--- pypy/branch/garden-call-code/pypy/interpreter/callbench/inst.py (original)
+++ pypy/branch/garden-call-code/pypy/interpreter/callbench/inst.py Sat Aug 2 01:40:12 2008
@@ -5,6 +5,10 @@
def __init__(self):
pass
+ class B(object):
+ def __init__(self, x, y):
+ pass
+
start()
i = 0
while i < N:
@@ -13,10 +17,10 @@
A()
A()
A()
- A()
- A()
- A()
- A()
+ B(1, 2)
+ B(1, 2)
+ B(1, 2)
+ B(1, 2)
i+=1
run(w, 1000)
More information about the Pypy-commit
mailing list