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 |
104 |
array/copy | 115 |
121 |
116 |
117 |
120 |
123 |
120 |
118 |
100 |
100 |
100 |
101 |
array/foreach | 104 |
105 |
101 |
105 |
112 |
112 |
108 |
109 |
100 |
100 |
100 |
100 |
array/index | 118 |
123 |
117 |
120 |
130 |
128 |
126 |
132 |
100 |
100 |
100 |
105 |
array/pop | 113 |
115 |
114 |
109 |
112 |
118 |
116 |
112 |
100 |
100 |
100 |
100 |
array/shift | 109 |
112 |
110 |
106 |
106 |
115 |
112 |
112 |
99 |
100 |
100 |
97 |
array/sort | 134 |
136 |
132 |
131 |
137 |
135 |
137 |
135 |
101 |
100 |
101 |
100 |
array/sort-num | 116 |
120 |
117 |
116 |
120 |
120 |
117 |
115 |
100 |
100 |
100 |
101 |
call/0arg | 97 |
120 |
109 |
107 |
137 |
133 |
119 |
119 |
102 |
100 |
102 |
100 |
call/1arg | 99 |
116 |
104 |
100 |
130 |
119 |
123 |
113 |
97 |
100 |
98 |
98 |
call/2arg | 100 |
103 |
107 |
99 |
115 |
115 |
116 |
113 |
98 |
100 |
99 |
97 |
call/9arg | 101 |
107 |
104 |
105 |
111 |
110 |
110 |
113 |
100 |
100 |
100 |
100 |
call/empty | 105 |
102 |
110 |
103 |
127 |
122 |
125 |
112 |
100 |
100 |
100 |
94 |
call/fib | 96 |
101 |
103 |
103 |
108 |
114 |
112 |
112 |
100 |
100 |
100 |
98 |
call/method | 96 |
104 |
110 |
104 |
111 |
114 |
115 |
117 |
100 |
100 |
100 |
99 |
call/wantarray | 105 |
112 |
109 |
105 |
121 |
125 |
117 |
119 |
100 |
100 |
100 |
97 |
hash/copy | 109 |
107 |
113 |
108 |
110 |
110 |
113 |
110 |
100 |
100 |
99 |
100 |
hash/each | 107 |
109 |
101 |
102 |
109 |
114 |
114 |
105 |
100 |
100 |
101 |
95 |
hash/foreach | 109 |
108 |
108 |
108 |
113 |
115 |
114 |
116 |
99 |
100 |
100 |
100 |
hash/foreach-sort | 137 |
139 |
130 |
136 |
137 |
145 |
142 |
135 |
100 |
100 |
100 |
102 |
hash/get | 123 |
123 |
101 |
126 |
131 |
127 |
135 |
137 |
97 |
100 |
98 |
107 |
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 | 116 |
120 |
115 |
111 |
124 |
112 |
115 |
125 |
100 |
100 |
100 |
102 |
loop/while | 92 |
130 |
110 |
112 |
129 |
135 |
131 |
119 |
98 |
100 |
100 |
100 |
loop/while-my | 116 |
117 |
116 |
100 |
123 |
123 |
124 |
124 |
100 |
100 |
100 |
100 |
re/const | 113 |
115 |
110 |
109 |
112 |
111 |
111 |
114 |
100 |
100 |
100 |
105 |
re/w | 111 |
106 |
108 |
113 |
112 |
114 |
113 |
116 |
103 |
100 |
102 |
103 |
startup/fewmod | 104 |
106 |
104 |
103 |
105 |
108 |
104 |
108 |
100 |
100 |
100 |
99 |
startup/lotsofsub | 105 |
110 |
105 |
102 |
107 |
109 |
106 |
112 |
100 |
100 |
100 |
100 |
startup/noprog | 100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
100 |
string/base64 | 100 |
102 |
100 |
103 |
115 |
116 |
116 |
115 |
100 |
100 |
100 |
100 |
string/htmlparser | 100 |
111 |
107 |
109 |
115 |
120 |
117 |
118 |
100 |
100 |
100 |
101 |
string/index-const | 110 |
117 |
115 |
112 |
122 |
124 |
125 |
112 |
102 |
100 |
100 |
104 |
string/index-var | 119 |
121 |
121 |
118 |
101 |
105 |
104 |
109 |
100 |
100 |
100 |
100 |
string/ipol | 112 |
106 |
106 |
106 |
112 |
112 |
108 |
117 |
100 |
100 |
100 |
100 |
string/tr | 111 |
113 |
108 |
109 |
117 |
122 |
124 |
119 |
100 |
100 |
100 |
100 |
AVERAGE | 109 | 114 | 110 | 110 | 118 | 119 | 119 | 117 | 100 | 100 | 100 | 101 |
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 |