Mercurial > cpython-lru_cache-weakref
annotate Tools/pybench/Constructs.py @ 58925:eecf1bef052d 2.6
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 16 Feb 2010 23:29:44 +0000 |
| parents | 2167105123e4 |
| children |
| rev | line source |
|---|---|
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
1 from pybench import Test |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
3 class IfThenElse(Test): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
4 |
|
38801
2167105123e4
Updated to pybench 2.0.
Marc-André Lemburg <mal@egenix.com>
parents:
38392
diff
changeset
|
5 version = 2.0 |
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
6 operations = 30*3 # hard to say... |
|
38392
816f8e60097a
Revert tests to MAL's original round sizes to retiain comparability
Steve Holden <steve@holdenweb.com>
parents:
38375
diff
changeset
|
7 rounds = 150000 |
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
8 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
9 def test(self): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
10 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
11 a,b,c = 1,2,3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
12 for i in xrange(self.rounds): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
13 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
14 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
15 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
16 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
17 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
18 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
19 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
20 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
21 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
22 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
23 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
24 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
25 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
26 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
27 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
28 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
29 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
30 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
31 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
32 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
33 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
34 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
35 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
36 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
37 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
38 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
39 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
40 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
41 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
42 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
43 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
44 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
45 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
46 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
47 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
48 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
49 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
50 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
51 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
52 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
53 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
54 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
55 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
56 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
57 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
58 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
59 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
60 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
61 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
62 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
63 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
64 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
65 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
66 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
67 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
68 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
69 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
70 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
71 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
72 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
73 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
74 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
75 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
76 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
77 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
78 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
79 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
80 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
81 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
82 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
83 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
84 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
85 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
86 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
87 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
88 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
89 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
90 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
91 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
92 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
93 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
94 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
95 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
96 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
97 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
98 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
99 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
100 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
101 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
102 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
103 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
104 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
105 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
106 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
107 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
108 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
109 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
110 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
111 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
112 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
113 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
114 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
115 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
116 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
117 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
118 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
119 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
120 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
121 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
122 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
123 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
124 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
125 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
126 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
127 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
128 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
129 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
130 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
131 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
132 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
133 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
134 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
135 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
136 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
137 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
138 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
139 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
140 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
141 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
142 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
143 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
144 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
145 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
146 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
147 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
148 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
149 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
150 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
151 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
152 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
153 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
154 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
155 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
156 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
157 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
158 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
159 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
160 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
161 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
162 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
163 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
164 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
165 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
166 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
167 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
168 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
169 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
170 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
171 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
172 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
173 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
174 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
175 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
176 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
177 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
178 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
179 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
180 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
181 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
182 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
183 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
184 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
185 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
186 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
187 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
188 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
189 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
190 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
191 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
192 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
193 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
194 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
195 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
196 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
197 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
198 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
199 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
200 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
201 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
202 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
203 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
204 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
205 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
206 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
207 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
208 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
209 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
210 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
211 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
212 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
213 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
214 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
215 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
216 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
217 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
218 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
219 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
220 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
221 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
222 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
223 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
224 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
225 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
226 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
227 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
228 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
229 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
230 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
231 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
232 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
233 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
234 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
235 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
236 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
237 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
238 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
239 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
240 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
241 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
242 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
243 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
244 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
245 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
246 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
247 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
248 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
249 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
250 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
251 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
252 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
253 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
254 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
255 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
256 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
257 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
258 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
259 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
260 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
261 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
262 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
263 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
264 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
265 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
266 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
267 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
268 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
269 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
270 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
271 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
272 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
273 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
274 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
275 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
276 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
277 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
278 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
279 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
280 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
281 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
282 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
283 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
284 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
285 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
286 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
287 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
288 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
289 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
290 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
291 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
292 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
293 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
294 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
295 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
296 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
297 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
298 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
299 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
300 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
301 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
302 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
303 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
304 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
305 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
306 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
307 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
308 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
309 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
310 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
311 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
312 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
313 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
314 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
315 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
316 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
317 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
318 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
319 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
320 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
321 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
322 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
323 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
324 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
325 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
326 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
327 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
328 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
329 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
330 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
331 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
332 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
333 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
334 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
335 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
336 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
337 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
338 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
339 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
340 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
341 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
342 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
343 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
344 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
345 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
346 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
347 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
348 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
349 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
350 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
351 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
352 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
353 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
354 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
355 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
356 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
357 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
358 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
359 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
360 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
361 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
362 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
363 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
364 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
365 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
366 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
367 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
368 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
369 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
370 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
371 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
372 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
373 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
374 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
375 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
376 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
377 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
378 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
379 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
380 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
381 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
382 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
383 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
384 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
385 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
386 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
387 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
388 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
389 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
390 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
391 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
392 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
393 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
394 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
395 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
396 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
397 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
398 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
399 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
400 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
401 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
402 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
403 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
404 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
405 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
406 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
407 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
408 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
409 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
410 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
411 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
412 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
413 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
414 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
415 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
416 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
417 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
418 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
419 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
420 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
421 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
422 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
423 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
424 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
425 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
426 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
427 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
428 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
429 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
430 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
431 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
432 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
433 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
434 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
435 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
436 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
437 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
438 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
439 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
440 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
441 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
442 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
443 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
444 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
445 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
446 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
447 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
448 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
449 if a == 1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
450 if b == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
451 if c != 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
452 c = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
453 b = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
454 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
455 c = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
456 elif b == 3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
457 b = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
458 a = 2 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
459 elif a == 2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
460 a = 3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
461 else: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
462 a = 1 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
463 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
464 def calibrate(self): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
465 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
466 a,b,c = 1,2,3 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
467 for i in xrange(self.rounds): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
468 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
469 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
470 class NestedForLoops(Test): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
471 |
|
38801
2167105123e4
Updated to pybench 2.0.
Marc-André Lemburg <mal@egenix.com>
parents:
38392
diff
changeset
|
472 version = 2.0 |
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
473 operations = 1000*10*5 |
|
38801
2167105123e4
Updated to pybench 2.0.
Marc-André Lemburg <mal@egenix.com>
parents:
38392
diff
changeset
|
474 rounds = 300 |
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
475 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
476 def test(self): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
477 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
478 l1 = range(1000) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
479 l2 = range(10) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
480 l3 = range(5) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
481 for i in xrange(self.rounds): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
482 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
483 for j in l2: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
484 for k in l3: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
485 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
486 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
487 def calibrate(self): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
488 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
489 l1 = range(1000) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
490 l2 = range(10) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
491 l3 = range(5) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
492 for i in xrange(self.rounds): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
493 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
494 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
495 class ForLoops(Test): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
496 |
|
38801
2167105123e4
Updated to pybench 2.0.
Marc-André Lemburg <mal@egenix.com>
parents:
38392
diff
changeset
|
497 version = 2.0 |
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
498 operations = 5 * 5 |
|
38801
2167105123e4
Updated to pybench 2.0.
Marc-André Lemburg <mal@egenix.com>
parents:
38392
diff
changeset
|
499 rounds = 10000 |
|
37857
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
500 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
501 def test(self): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
502 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
503 l1 = range(100) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
504 for i in xrange(self.rounds): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
505 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
506 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
507 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
508 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
509 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
510 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
511 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
512 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
513 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
514 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
515 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
516 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
517 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
518 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
519 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
520 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
521 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
522 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
523 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
524 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
525 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
526 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
527 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
528 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
529 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
530 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
531 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
532 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
533 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
534 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
535 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
536 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
537 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
538 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
539 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
540 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
541 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
542 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
543 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
544 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
545 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
546 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
547 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
548 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
549 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
550 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
551 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
552 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
553 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
554 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
555 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
556 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
557 for i in l1: |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
558 pass |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
559 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
560 def calibrate(self): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
561 |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
562 l1 = range(1000) |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
563 for i in xrange(self.rounds): |
|
a4d5cefc2de4
Adding pybench 1.3 to the Tools/ directory.
Marc-André Lemburg <mal@egenix.com>
parents:
diff
changeset
|
564 pass |
