1 from pybench
import Test
3 # Check for new-style class support:
12 class CreateNewInstances(Test
):
15 operations
= 3 + 7 + 4
24 def __init__(self
,a
,b
,c
):
30 def __init__(self
,a
,b
,c
=4):
38 for i
in xrange(self
.rounds
):
60 def __init__(self
,a
,b
,c
):
66 def __init__(self
,a
,b
,c
=4):
74 for i
in xrange(self
.rounds
):