diff options
author | Steve Holden <steve@holdenweb.com> | 2006-05-26 18:26:21 (GMT) |
---|---|---|
committer | Steve Holden <steve@holdenweb.com> | 2006-05-26 18:26:21 (GMT) |
commit | d05e5468501ff572a55349a584a28d09f9d7abb3 (patch) | |
tree | 35ac0c190daef873dac46b960928354abdad7067 /Tools/pybench/NewInstances.py | |
parent | 9c0e9c089c758bc9b64f0379bc93f8ea6740eb53 (diff) | |
download | cpython-d05e5468501ff572a55349a584a28d09f9d7abb3.zip cpython-d05e5468501ff572a55349a584a28d09f9d7abb3.tar.gz cpython-d05e5468501ff572a55349a584a28d09f9d7abb3.tar.bz2 |
Revert tests to MAL's original round sizes to retiain comparability
from long ago and far away. Stop calling this pybench 1.4 because it
isn't. Remove the empty test, which was a bad idea.
Diffstat (limited to 'Tools/pybench/NewInstances.py')
-rwxr-xr-x | Tools/pybench/NewInstances.py | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/Tools/pybench/NewInstances.py b/Tools/pybench/NewInstances.py deleted file mode 100755 index a352638..0000000 --- a/Tools/pybench/NewInstances.py +++ /dev/null @@ -1,66 +0,0 @@ -from pybench import Test - -class CreateNewInstances(Test): - - version = 0.1 - operations = 3 + 7 + 4 - rounds = 60000 - - def test(self): - - class c(object): - pass - - class d(object): - def __init__(self,a,b,c): - self.a = a - self.b = b - self.c = c - - class e(object): - def __init__(self,a,b,c=4): - self.a = a - self.b = b - self.c = c - self.d = a - self.e = b - self.f = c - - for i in xrange(self.rounds): - o = c() - o1 = c() - o2 = c() - p = d(i,i,3) - p1 = d(i,i,3) - p2 = d(i,3,3) - p3 = d(3,i,3) - p4 = d(i,i,i) - p5 = d(3,i,3) - p6 = d(i,i,i) - q = e(i,i,3) - q1 = e(i,i,3) - q2 = e(i,i,3) - q3 = e(i,i) - - def calibrate(self): - - class c(object): - pass - - class d(object): - def __init__(self,a,b,c): - self.a = a - self.b = b - self.c = c - - class e(object): - def __init__(self,a,b,c=4): - self.a = a - self.b = b - self.c = c - self.d = a - self.e = b - self.f = c - - for i in xrange(self.rounds): - pass |