lab1 | lab2 | lab3 | lab4 | lab5 | lab6 | lab7 | lab8 | lab9 | lab10 | lab11 | lab12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
arith/mixed | 120 |
114 |
112 |
108 |
116 |
122 |
126 |
120 |
100 |
100 |
100 |
107 |
arith/trig | 104 |
109 |
110 |
103 |
121 |
118 |
120 |
117 |
100 |
100 |
100 |
103 |
array/copy | 115 |
121 |
116 |
117 |
120 |
123 |
120 |
118 |
100 |
100 |
100 |
101 |
array/foreach | 104 |
105 |
101 |
104 |
111 |
112 |
107 |
108 |
100 |
100 |
100 |
100 |
array/index | 118 |
123 |
117 |
121 |
131 |
129 |
126 |
133 |
100 |
100 |
100 |
105 |
array/pop | 112 |
114 |
113 |
108 |
111 |
117 |
116 |
111 |
99 |
100 |
100 |
100 |
array/shift | 108 |
111 |
108 |
105 |
105 |
114 |
111 |
111 |
98 |
100 |
100 |
97 |
array/sort | 133 |
134 |
131 |
130 |
135 |
133 |
136 |
134 |
100 |
99 |
100 |
100 |
array/sort-num | 116 |
120 |
116 |
116 |
119 |
120 |
117 |
115 |
100 |
100 |
100 |
100 |
call/0arg | 95 |
117 |
106 |
105 |
134 |
129 |
116 |
116 |
100 |
98 |
100 |
98 |
call/1arg | 100 |
119 |
107 |
102 |
133 |
122 |
126 |
116 |
100 |
102 |
100 |
100 |
call/2arg | 100 |
106 |
110 |
100 |
118 |
119 |
119 |
116 |
100 |
101 |
100 |
100 |
call/9arg | 101 |
107 |
104 |
105 |
111 |
110 |
110 |
113 |
100 |
100 |
100 |
100 |
call/empty | 103 |
100 |
108 |
101 |
124 |
120 |
123 |
110 |
100 |
100 |
100 |
93 |
call/fib | 95 |
101 |
103 |
102 |
107 |
113 |
112 |
112 |
100 |
100 |
100 |
97 |
call/method | 96 |
104 |
110 |
105 |
111 |
114 |
116 |
117 |
100 |
100 |
100 |
100 |
call/wantarray | 105 |
112 |
109 |
105 |
121 |
125 |
118 |
120 |
101 |
100 |
100 |
97 |
hash/copy | 110 |
109 |
115 |
110 |
112 |
112 |
115 |
111 |
101 |
101 |
100 |
100 |
hash/each | 106 |
108 |
100 |
101 |
108 |
113 |
113 |
104 |
99 |
99 |
100 |
95 |
hash/foreach | 109 |
109 |
109 |
109 |
113 |
116 |
115 |
116 |
100 |
100 |
100 |
100 |
hash/foreach-sort | 136 |
139 |
130 |
135 |
136 |
145 |
142 |
135 |
100 |
100 |
100 |
102 |
hash/get | 125 |
126 |
104 |
129 |
134 |
130 |
138 |
140 |
99 |
102 |
100 |
110 |
hash/set | 115 |
127 |
126 |
126 |
139 |
138 |
133 |
140 |
100 |
100 |
100 |
108 |
loop/for-c | 100 |
118 |
106 |
107 |
119 |
115 |
127 |
120 |
100 |
100 |
100 |
98 |
loop/for-range | 99 |
119 |
96 |
118 |
125 |
126 |
124 |
105 |
100 |
100 |
100 |
99 |
loop/for-range-const | 102 |
120 |
97 |
117 |
125 |
126 |
126 |
109 |
100 |
100 |
100 |
100 |
loop/getline | 115 |
119 |
115 |
111 |
123 |
111 |
114 |
125 |
100 |
100 |
100 |
101 |
loop/while | 92 |
130 |
110 |
112 |
129 |
135 |
131 |
119 |
98 |
100 |
100 |
100 |
loop/while-my | 116 |
118 |
116 |
100 |
124 |
123 |
124 |
124 |
100 |
100 |
100 |
100 |
re/const | 114 |
116 |
111 |
110 |
112 |
111 |
112 |
115 |
100 |
100 |
100 |
105 |
re/w | 106 |
102 |
103 |
108 |
107 |
109 |
108 |
111 |
100 |
98 |
100 |
100 |
startup/fewmod | 105 |
106 |
105 |
104 |
106 |
109 |
105 |
109 |
100 |
100 |
100 |
100 |
startup/lotsofsub | 105 |
110 |
106 |
103 |
108 |
110 |
106 |
112 |
100 |
100 |
100 |
100 |
startup/noprog | 100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
string/base64 | 100 |
100 |
100 |
102 |
114 |
115 |
115 |
113 |
100 |
100 |
100 |
100 |
string/htmlparser | 100 |
111 |
106 |
108 |
115 |
119 |
117 |
118 |
100 |
100 |
100 |
100 |
string/index-const | 109 |
115 |
113 |
110 |
120 |
122 |
124 |
111 |
101 |
100 |
100 |
102 |
string/index-var | 119 |
121 |
121 |
118 |
101 |
105 |
104 |
109 |
100 |
100 |
100 |
100 |
string/ipol | 112 |
106 |
107 |
107 |
113 |
113 |
109 |
118 |
100 |
100 |
100 |
100 |
string/tr | 110 |
112 |
107 |
108 |
116 |
121 |
123 |
118 |
100 |
100 |
100 |
100 |
AVERAGE | 108 | 114 | 110 | 110 | 118 | 119 | 119 | 117 | 100 | 100 | 100 | 100 |
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 |