|
|
Glasgow Haskell Compiler |
Back to the Win32 Shootout Back to dada's perl lab |
| Glasgow Haskell Compiler | |
|---|---|
| Tested Version | The Glorious Glasgow Haskell Compilation System, version 5.04.2 |
| Home Page | http://www.haskell.org/ |
| Download | http://www.haskell.org/ |
| View All Source Code For Glasgow Haskell Compiler | |
|
(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: 23 | Avg Rank: 28 | Avg Rank: 14 | Log | |||
|---|---|---|---|---|---|---|---|---|
| CPU | Rank | Mem | Rank | LOC | Rank | |||
| Ackermann's Function | ackermann.ghc | 0.07 | 5 | 1224 | 20 | 9 | 5 | log |
| Array Access | ary3.ghc | F | (F) * | F | (F) * | 20 | 28 | log |
| Count Lines/Words/Chars | wc.ghc | 15.60 | 34 | 2180 | 24 | 26 | 23 | log |
| Echo Client/Server | echo.ghc | F | (F) * | F | (F) * | 59 | 10 | log |
| Exception Mechanisms | except.ghc | F | (F) * | F | (F) * | 29 | 10 | log |
| Fibonacci Numbers | fibo.ghc | 0.34 | 18 | 1148 | 24 | 13 | 29 | log |
| Hash (Associative Array) Access | hash.ghc | 3.46 | 31 | 9932 | 23 | 18 | 21 | log |
| Heapsort | heapsort.ghc | 4.37 | 24 | 12180 | 40 | 37 | 3 | log |
| Hello World | hello.ghc | 3.32 | 18 | 1096 | 24 | 1 | 4 | log |
| List Operations | lists.ghc | T | (T) * | T | (T) * | 16 | 3 | log |
| Matrix Multiplication | matrix.ghc | F | (F) * | F | (F) * | 27 | 5 | log |
| Nested Loops | nestedloop.ghc | 0.28 | 17 | 1108 | 23 | 33 | 47 | log |
| Producer/Consumer Threads | prodcons.ghc | F | (F) * | F | (F) * | 38 | 10 | log |
| Random Number Generator | random.ghc | 1.79 | 25 | 42744 | 47 | 17 | 22 | log |
| Reverse a File | reversefile.ghc | 6.22 | 30 | 38064 | 34 | 1 | 1 | log |
| Sieve of Erathostenes | sieve.ghc | 0.31 | 9 | 2064 | 29 | 11 | 5 | log |
| Spell Checker | spellcheck.ghc | 8.89 | 25 | 14924 | 28 | 7 | 2 | log |
| Statistical Moments | moments.ghc | 6.83 | 29 | 15916 | 32 | 54 | 15 | log |
| String Concatenation | strcat.ghc | 0.11 | 15 | 1560 | 17 | 7 | 10 | log |
| Sum a Column of Integers | sumcol.ghc | 15.49 | 35 | 2188 | 29 | 5 | 11 | log |
| Word Frequency Count | wordfreq.ghc | 20.17 | 24 | 26832 | 27 | 20 | 7 | log |
| *Test Implemented but not measured (timeout or error). | ||||||||
| Tests Not Implemented For This Language: Method Calls, Regular Expression Matching, Hashes, Part II, Object Instantiation | ||||||||
|
Back to the Win32 Shootout Back to dada's perl lab |
Send comments or suggestions to dada@perl.it |