|   | Ocaml | Back to the Win32 Shootout Back to dada's perl lab | 
| Ocaml | |
|---|---|
| Tested Version | The Objective Caml compiler, version 3.06 (Byte Code) | 
| Home Page | http://www.ocaml.org/ | 
| Download | http://www.ocaml.org/ocaml/distrib.html | 
| View All Source Code For Ocaml | |
| (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: 21 | Avg Rank: 1 | Avg Rank: 15 | Log | |||
|---|---|---|---|---|---|---|---|---|
| CPU | Rank | Mem | Rank | LOC | Rank | |||
| Ackermann's Function | ackermann.ocamlb | 1.09 | 26 | 380 | 1 | 9 | 5 | log | 
| Array Access | ary3.ocamlb | 5.38 | 20 | 380 | 1 | 16 | 20 | log | 
| Count Lines/Words/Chars | wc.ocamlb | 9.44 | 32 | 380 | 1 | 28 | 27 | log | 
| Echo Client/Server | echo.ocamlb | * | * | 62 | 11 | log | ||
| Exception Mechanisms | except.ocamlb | 0.39 | 11 | 380 | 1 | 15 | 4 | log | 
| Fibonacci Numbers | fibo.ocamlb | 2.21 | 25 | 380 | 1 | 8 | 10 | log | 
| Hash (Associative Array) Access | hash.ocamlb | 1.27 | 15 | 380 | 1 | 24 | 32 | log | 
| Hashes, Part II | hash2.ocamlb | 5.48 | 15 | 380 | 1 | 22 | 20 | log | 
| Heapsort | heapsort.ocamlb | 2.79 | 20 | 380 | 1 | 52 | 18 | log | 
| Hello World | hello.ocamlb | 3.49 | 20 | 380 | 1 | 1 | 4 | log | 
| List Operations | lists.ocamlb | 1.43 | 14 | 380 | 1 | 131 | 30 | log | 
| Matrix Multiplication | matrix.ocamlb | 7.20 | 22 | 380 | 1 | 37 | 15 | log | 
| Method Calls | methcall.ocamlb | 2.59 | 20 | 380 | 1 | 33 | 5 | log | 
| Nested Loops | nestedloop.ocamlb | 6.40 | 32 | 380 | 1 | 11 | 4 | log | 
| Object Instantiation | objinst.ocamlb | 6.98 | 20 | 380 | 1 | 25 | 3 | log | 
| Producer/Consumer Threads | prodcons.ocamlb | F | (F) * | F | (F) * | 31 | 4 | log | 
| Random Number Generator | random.ocamlb | 1.37 | 23 | 380 | 1 | 16 | 17 | log | 
| Regular Expression Matching | regexmatch.ocamlb | F | (F) * | F | (F) * | 36 | 14 | log | 
| Reverse a File | reversefile.ocamlb | 1.73 | 14 | 380 | 1 | 26 | 30 | log | 
| Sieve of Erathostenes | sieve.ocamlb | 18.00 | 28 | 380 | 1 | 23 | 25 | log | 
| Spell Checker | spellcheck.ocamlb | 2.26 | 13 | 380 | 1 | 8 | 5 | log | 
| Statistical Moments | moments.ocamlb | 2.62 | 24 | 380 | 1 | 59 | 18 | log | 
| String Concatenation | strcat.ocamlb | 0.12 | 17 | 380 | 1 | 9 | 16 | log | 
| Sum a Column of Integers | sumcol.ocamlb | 2.87 | 21 | 380 | 1 | 3 | 3 | log | 
| Word Frequency Count | wordfreq.ocamlb | 7.74 | 19 | 380 | 1 | 33 | 17 | log | 
| *Test Implemented but not measured (timeout or error). | ||||||||
| Back to the Win32 Shootout Back to dada's perl lab | Send comments or suggestions to dada@perl.it |