Mercury |
Back to the Win32 Shootout Back to dada's perl lab |
Mercury | |
---|---|
Tested Version | Mercury 0.10.1 |
Home Page | http://www.cs.mu.oz.au/research/mercury/ |
Download | http://www.cs.mu.oz.au/research/mercury/download/release.html |
View All Source Code For Mercury |
(Ranks in Red in the
table below are those which fall below the average Rank for this language
over all tests. The corresponding programs could possibly benefit from further optimization.) |
||||||||
Test | Source Code | Avg Rank: 15 | Avg Rank: 22 | Avg Rank: 36 | Log | |||
---|---|---|---|---|---|---|---|---|
CPU | Rank | Mem | Rank | LOC | Rank | |||
Ackermann's Function | ackermann.mercury | 0.06 | 4 | 1728 | 24 | 36 | 50 | log |
Array Access | ary3.mercury | 0.09 | 10 | 1788 | 19 | 38 | 44 | log |
Fibonacci Numbers | fibo.mercury | 0.22 | 5 | 1736 | 30 | 30 | 49 | log |
Hash (Associative Array) Access | hash.mercury | 1.85 | 21 | 6020 | 12 | 22 | 30 | log |
Heapsort | heapsort.mercury | 1.16 | 15 | 3324 | 16 | 72 | 39 | log |
Hello World | hello.mercury | 6.29 | 27 | 1724 | 31 | 6 | 43 | log |
List Operations | lists.mercury | T | (T) * | T | (T) * | 30 | 7 | log |
Method Calls | methcall.mercury | 0.24 | 14 | 1788 | 20 | 54 | 22 | log |
Nested Loops | nestedloop.mercury | 0.16 | 11 | 1732 | 31 | 20 | 37 | log |
Object Instantiation | objinst.mercury | 0.20 | 3 | 1796 | 19 | 63 | 21 | log |
Random Number Generator | random.mercury | 0.16 | 8 | 1784 | 28 | 26 | 43 | log |
Reverse a File | reversefile.mercury | 1.27 | 11 | 6848 | 14 | 18 | 23 | log |
Sieve of Erathostenes | sieve.mercury | 0.67 | 13 | 1872 | 25 | 32 | 42 | log |
Spell Checker | spellcheck.mercury | 3.56 | 18 | 3808 | 10 | 54 | 32 | log |
Statistical Moments | moments.mercury | F | (F) * | F | (F) * | 65 | 26 | log |
String Concatenation | strcat.mercury | 115.85 | 42 | 2920 | 28 | 17 | 33 | log |
Sum a Column of Integers | sumcol.mercury | 3.64 | 23 | 1780 | 24 | 32 | 44 | log |
Word Frequency Count | wordfreq.mercury | 10.77 | 22 | 2684 | 19 | 41 | 19 | log |
*Test Implemented but not measured (timeout or error). | ||||||||
Tests Not Implemented For This Language: Echo Client/Server, Exception Mechanisms, Regular Expression Matching, Hashes, Part II, Matrix Multiplication, Count Lines/Words/Chars, Producer/Consumer Threads |
Back to the Win32 Shootout Back to dada's perl lab |
Send comments or suggestions to dada@perl.it |