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

[Memory Usage]   [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
Delphi delphi 553 7 0 30.72
C vc 665 2 1 30.23
C bcc 665 3 0 30.23
Ocaml ocaml 665 0 3 30.23
C lcc 663 3 0 30.14
C mingw32 663 1 2 30.14
Mercury mercury 475 7 2 29.69
C gcc 674 0 2 29.30
Lua lua5 638 2 1 29.00
Ocaml ocamlb 630 0 3 28.64
Java java 710 0 0 28.40
Forth gforth 595 1 3 28.33
SML smlnj 479 0 8 28.18
Lua lua 648 2 0 28.17
Pike pike 675 0 1 28.13
Ada gnat 447 8 1 27.94
Eiffel se 502 5 2 27.89
Nice nice 556 5 0 27.80
Common Lisp poplisp 389 0 11 27.79
Pascal fpascal 305 8 6 27.73
C++ vc++ 442 5 4 27.63
Pascal vpascal 465 8 0 27.35
C# csharp 574 4 0 27.33
Python python 648 0 1 27.00
Pliant pliant 539 4 1 26.95
S-Lang slang 505 6 0 26.58
ICI ici 610 0 2 26.52
Icon icon 422 9 0 26.38
Modula-2 modula2 209 15 2 26.13
Perl cygperl 595 0 2 25.87
Awk awka 484 6 0 25.47
Awk mawk 483 6 0 25.42
ElastiC elastic 151 16 3 25.17
Oz oz 423 6 2 24.88
Perl perl 560 0 2 24.35
Haskell ghc 364 4 6 24.27
Forth bigforth 239 9 6 23.90
Parrot parrot 238 14 1 23.80
Erlang erlang 319 3 8 22.79
Modula-3 modula3 109 20 0 21.80
Awk gawk 391 6 1 21.72
Tcl tcl 426 3 2 21.30
PHP php 294 9 2 21.00
Simula cim 104 20 0 20.80
Scheme guile 418 0 4 19.90
JavaScript jscript 236 10 2 18.15
Ruby ruby 356 0 4 16.95
Rexx rexx 202 7 4 14.43
VBScript vbscript 145 5 7 11.15
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