lab1 | lab2 | lab3 | lab4 | lab5 | lab6 | lab7 | lab8 | lab9 | lab10 | lab11 | lab12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
arith/mixed | 100 |
103 |
95 |
93 |
108 |
106 |
106 |
104 |
81 |
81 |
81 |
85 |
arith/trig | 100 |
104 |
104 |
97 |
116 |
116 |
115 |
116 |
90 |
91 |
91 |
92 |
array/copy | 100 |
104 |
101 |
101 |
104 |
109 |
104 |
107 |
94 |
93 |
94 |
94 |
array/foreach | 100 |
102 |
98 |
99 |
110 |
109 |
109 |
110 |
92 |
94 |
93 |
95 |
array/index | 100 |
102 |
96 |
99 |
110 |
110 |
105 |
108 |
78 |
81 |
79 |
85 |
array/pop | 100 |
102 |
100 |
100 |
101 |
105 |
100 |
100 |
91 |
91 |
91 |
89 |
array/shift | 100 |
103 |
100 |
100 |
102 |
105 |
100 |
104 |
93 |
92 |
93 |
88 |
array/sort | 100 |
100 |
99 |
98 |
100 |
102 |
101 |
100 |
77 |
76 |
76 |
76 |
array/sort-num | 100 |
102 |
100 |
100 |
101 |
103 |
102 |
100 |
90 |
89 |
90 |
90 |
call/0arg | 100 |
121 |
117 |
116 |
136 |
133 |
124 |
125 |
105 |
106 |
105 |
104 |
call/1arg | 100 |
113 |
105 |
101 |
125 |
121 |
118 |
121 |
100 |
100 |
100 |
98 |
call/2arg | 100 |
101 |
102 |
99 |
111 |
110 |
106 |
108 |
93 |
93 |
93 |
90 |
call/9arg | 100 |
105 |
100 |
100 |
108 |
111 |
107 |
109 |
92 |
92 |
92 |
91 |
call/empty | 100 |
103 |
103 |
100 |
117 |
112 |
117 |
109 |
93 |
93 |
93 |
89 |
call/fib | 100 |
106 |
105 |
102 |
115 |
116 |
116 |
116 |
100 |
100 |
100 |
93 |
call/method | 100 |
96 |
103 |
100 |
106 |
110 |
107 |
111 |
92 |
94 |
94 |
92 |
call/wantarray | 100 |
100 |
104 |
100 |
106 |
115 |
106 |
108 |
92 |
92 |
92 |
88 |
hash/copy | 100 |
100 |
101 |
100 |
106 |
103 |
103 |
104 |
93 |
94 |
92 |
92 |
hash/each | 100 |
109 |
96 |
97 |
103 |
112 |
103 |
98 |
90 |
90 |
90 |
86 |
hash/foreach | 100 |
101 |
100 |
100 |
108 |
108 |
106 |
107 |
88 |
91 |
90 |
85 |
hash/foreach-sort | 100 |
101 |
96 |
100 |
105 |
106 |
103 |
104 |
74 |
74 |
74 |
75 |
hash/get | 100 |
100 |
94 |
98 |
108 |
109 |
104 |
101 |
74 |
74 |
73 |
81 |
hash/set | 100 |
100 |
85 |
88 |
109 |
106 |
100 |
98 |
75 |
74 |
74 |
79 |
loop/for-c | 100 |
128 |
120 |
117 |
132 |
130 |
139 |
118 |
106 |
107 |
105 |
103 |
loop/for-range | 100 |
135 |
126 |
125 |
142 |
144 |
134 |
114 |
99 |
102 |
101 |
98 |
loop/for-range-const | 100 |
128 |
121 |
120 |
134 |
136 |
125 |
112 |
93 |
97 |
96 |
91 |
loop/getline | 100 |
104 |
100 |
101 |
106 |
100 |
104 |
108 |
87 |
87 |
87 |
92 |
loop/while | 100 |
136 |
120 |
121 |
151 |
149 |
147 |
129 |
104 |
104 |
102 |
100 |
loop/while-my | 100 |
99 |
101 |
103 |
109 |
108 |
113 |
103 |
83 |
84 |
82 |
81 |
re/const | 100 |
103 |
100 |
100 |
102 |
101 |
102 |
102 |
88 |
88 |
89 |
92 |
re/w | 100 |
100 |
103 |
105 |
100 |
108 |
109 |
112 |
96 |
97 |
96 |
96 |
startup/fewmod | 100 |
101 |
100 |
100 |
103 |
105 |
104 |
104 |
96 |
96 |
97 |
96 |
startup/lotsofsub | 100 |
103 |
100 |
100 |
104 |
107 |
105 |
105 |
96 |
97 |
97 |
96 |
startup/noprog | 100 |
100 |
100 |
100 |
100 |
101 |
101 |
100 |
100 |
100 |
100 |
100 |
string/base64 | 100 |
101 |
100 |
100 |
112 |
118 |
116 |
115 |
97 |
97 |
97 |
98 |
string/htmlparser | 100 |
105 |
101 |
100 |
108 |
116 |
112 |
114 |
95 |
95 |
95 |
95 |
string/index-const | 100 |
100 |
90 |
97 |
100 |
103 |
103 |
90 |
82 |
84 |
83 |
82 |
string/index-var | 100 |
109 |
109 |
106 |
95 |
96 |
95 |
100 |
87 |
88 |
89 |
88 |
string/ipol | 100 |
99 |
94 |
98 |
106 |
106 |
101 |
110 |
84 |
87 |
87 |
86 |
string/tr | 100 |
100 |
99 |
100 |
105 |
110 |
113 |
110 |
93 |
94 |
94 |
93 |
AVERAGE | 100 | 106 | 102 | 102 | 111 | 112 | 110 | 108 | 91 | 91 | 91 | 91 |
Test ran on a freebsd machine that reports its uname as "FreeBSD 8.2-RELEASE #0 r218742M: Mon Feb 21 11:49:51 CET 2011 amd64".
Lab | Perl version | Compiler | Optimization |
---|---|---|---|
lab1 | 5.12.3 | 4.2.1 20070719 [FreeBSD] | -O2 -pipe -fno-strict-aliasing |
lab2 | 5.12.3 | 4.2.1 20070719 [FreeBSD] | -O2 -pipe -march=nocona -fno-strict-aliasing |
lab3 | 5.12.3 | 4.2.1 20070719 [FreeBSD] | -O2 -pipe -march=core2 -mno-ssse3 -fno-strict-aliasing |
lab4 | 5.12.3 | 4.2.1 20070719 [FreeBSD] | -O2 -pipe -mssse3 -march=core2 -fno-strict-aliasing |
lab5 | 5.12.3 | 4.5.3 20110106 (prerelease) | -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing |
lab6 | 5.12.3 | 4.5.3 20110106 (prerelease) | -O2 -pipe -march=nocona -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing |
lab7 | 5.12.3 | 4.5.3 20110106 (prerelease) | -O2 -pipe -march=core2 -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing |
lab8 | 5.12.3 | 4.6.0 20110226 (experimental) | -O2 -pipe -march=corei7 -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing |
lab9 | 5.12.3 | 4.2.1 Compatible Clang Compiler | -O2 -pipe -fno-strict-aliasing |
lab10 | 5.12.3 | 4.2.1 Compatible Clang Compiler | -O2 -pipe -march=nocona -fno-strict-aliasing |
lab11 | 5.12.3 | 4.2.1 Compatible Clang Compiler | -O2 -pipe -march=core2 -fno-strict-aliasing |
lab12 | 5.12.3 | 4.2.1 Compatible Clang Compiler | -O2 -pipe -march=corei7 -fno-strict-aliasing |