Computer Language Shootout Scorecard Back to the Win32 Shootout
Back to dada's perl lab

[The Original Shootout]   [NEWS]   [FAQ]   [Methodology]   [Platform Details]   [Acknowledgements]   [Scorecard]  

This page summarize the benchmark results and measures each language's performance using Doug's CRAPS![TM] system. Please be sure to read carefully Doug's Scorecard page for details about the scoring system and its meaning (or lack thereof :-).

This page shows the CPU, Memory and LOC (Lines Of Code) score achieved by the languages. There are other pages where you can view:

[CPU Time]   [Memory Usage]   [Lines Of Code]   [CPU + Memory Usage]  

Also note that the weights used for this scorecard are the default ones provided by Doug. I will eventually add some CGI trickery to recalculate weights and scores on the fly when time permits.

I have also extended a little all this CRAPS! to compare the results between Linux and Win32.

SCORES
Language Implementation Score Missing Failing Avg.Score
Ada gnat 1320 8 1 82.50
Modula-2 modula2 645 15 2 80.63
Ocaml ocamlb 1762 0 3 80.09
Ocaml ocaml 1752 0 3 79.64
Lua lua5 1686 2 1 76.64
Common Lisp poplisp 1040 0 11 74.29
ICI ici 1705 0 2 74.13
Icon icon 1184 9 0 74.00
Delphi delphi 1306 7 0 72.56
C++ vc++ 1153 5 4 72.06
C vc 1581 2 1 71.86
Lua lua 1652 2 0 71.83
Awk mawk 1353 6 0 71.21
C mingw32 1554 1 2 70.64
C lcc 1547 3 0 70.32
C bcc 1546 3 0 70.27
Pascal fpascal 765 8 6 69.55
Forth gforth 1459 1 3 69.48
Python python 1659 0 1 69.13
S-Lang slang 1299 6 0 68.37
Forth bigforth 679 9 6 67.90
Mercury mercury 1087 7 2 67.94
Awk awka 1290 6 0 67.89
Perl perl 1549 0 2 67.35
Awk gawk 1207 6 1 67.06
Nice nice 1338 5 0 66.90
C gcc 1539 0 2 66.91
Perl cygperl 1523 0 2 66.22
Pike pike 1577 0 1 65.71
Scheme guile 1374 0 4 65.43
Haskell ghc 962 4 6 64.13
Tcl tcl 1273 3 2 63.65
ElastiC elastic 378 16 3 63.00
Oz oz 1072 6 2 63.06
Ruby ruby 1323 0 4 63.00
Pliant pliant 1243 4 1 62.15
Eiffel se 1113 5 2 61.83
VBScript vbscript 802 5 7 61.69
SML smlnj 1048 0 8 61.65
Pascal vpascal 1026 8 0 60.35
PHP php 839 9 2 59.93
Rexx rexx 814 7 4 58.14
Java java 1403 0 0 56.12
Erlang erlang 786 3 8 56.14
C# csharp 1146 4 0 54.57
JavaScript jscript 698 10 2 53.69
Parrot parrot 512 14 1 51.20
Simula cim 245 20 0 49.00
Modula-3 modula3 240 20 0 48.00
REBOL rebol 76 18 7 0.00
Languages that compile to native code are in Bold Italics.

Weights used for the scorecard
TestWeightTestWeight
Ackermann's Function1 Array Access3
Count Lines/Words/Chars3 Echo Client/Server5
Exception Mechanisms1 Fibonacci Numbers2
Hash (Associative Array) Access1 Hashes, Part II4
Heapsort4 Hello World1
List Operations3 Matrix Multiplication3
Method Calls5 Nested Loops4
Object Instantiation5 Producer/Consumer Threads1
Random Number Generator3 Regular Expression Matching4
Reverse a File4 Sieve of Erathostenes4
Spell Checker4 Statistical Moments2
String Concatenation2 Sum a Column of Integers3
Word Frequency Count5   


Back to the Win32 Shootout
Back to dada's perl lab
Send comments or suggestions to dada@perl.it