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 only the Memory score achieved by the languages. There are other pages where you can view:

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

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
Ocaml ocamlb 643 0 3 29.23
C vc 617 2 1 28.05
C lcc 617 3 0 28.05
Delphi delphi 504 7 0 28.00
C mingw32 616 1 2 28.00
C bcc 615 3 0 27.95
Ocaml ocaml 598 0 3 27.18
Lua lua5 588 2 1 26.73
Icon icon 424 9 0 26.50
Oz oz 447 6 2 26.29
Pascal fpascal 286 8 6 26.00
C++ vc++ 407 5 4 25.44
Eiffel se 457 5 2 25.39
Ada gnat 403 8 1 25.19
SML smlnj 427 0 8 25.12
Mercury mercury 399 7 2 24.94
Lua lua 560 2 0 24.35
ICI ici 560 0 2 24.35
C gcc 557 0 2 24.22
Forth gforth 497 1 3 23.67
S-Lang slang 447 6 0 23.53
Modula-2 modula2 185 15 2 23.13
Awk mawk 439 6 0 23.11
Pascal vpascal 387 8 0 22.76
VBScript vbscript 292 5 7 22.46
ElastiC elastic 129 16 3 21.50
Tcl tcl 430 3 2 21.50
Perl perl 493 0 2 21.43
Awk gawk 384 6 1 21.33
Rexx rexx 292 7 4 20.86
Ruby ruby 434 0 4 20.67
Scheme guile 433 0 4 20.62
Python python 493 0 1 20.54
Forth bigforth 204 9 6 20.40
Awk awka 374 6 0 19.68
Modula-3 modula3 98 20 0 19.60
Pliant pliant 386 4 1 19.30
Perl cygperl 435 0 2 18.91
Parrot parrot 183 14 1 18.30
JavaScript jscript 223 10 2 17.15
Simula cim 83 20 0 16.60
Pike pike 397 0 1 16.54
PHP php 226 9 2 16.14
C# csharp 306 4 0 14.57
Common Lisp poplisp 187 0 11 13.36
Haskell ghc 195 4 6 13.00
Java java 291 0 0 11.64
Nice nice 202 5 0 10.10
Erlang erlang 93 3 8 6.64
REBOL rebol 0 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