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

[CPU Time]   [Memory Usage]   [Lines Of Code]   [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 1058 7 0 58.78
C vc 1283 2 1 58.32
C lcc 1281 3 0 58.23
C bcc 1280 3 0 58.18
C mingw32 1279 1 2 58.14
Ocaml ocamlb 1273 0 3 57.86
Ocaml ocaml 1263 0 3 57.41
Lua lua5 1227 2 1 55.77
Mercury mercury 874 7 2 54.63
Pascal fpascal 591 8 6 53.73
C gcc 1232 0 2 53.57
SML smlnj 907 0 8 53.35
Eiffel se 960 5 2 53.33
Ada gnat 850 8 1 53.13
C++ vc++ 849 5 4 53.06
Icon icon 846 9 0 52.88
Lua lua 1209 2 0 52.57
Forth gforth 1092 1 3 52.00
Oz oz 870 6 2 51.18
ICI ici 1170 0 2 50.87
S-Lang slang 953 6 0 50.16
Pascal vpascal 852 8 0 50.12
Modula-2 modula2 395 15 2 49.38
Awk mawk 922 6 0 48.53
Python python 1141 0 1 47.54
ElastiC elastic 280 16 3 46.67
Pliant pliant 926 4 1 46.30
Perl perl 1053 0 2 45.78
Awk awka 859 6 0 45.21
Perl cygperl 1030 0 2 44.78
Pike pike 1073 0 1 44.71
Forth bigforth 443 9 6 44.30
Awk gawk 776 6 1 43.11
Tcl tcl 857 3 2 42.85
Parrot parrot 422 14 1 42.20
C# csharp 880 4 0 41.90
Modula-3 modula3 207 20 0 41.40
Common Lisp poplisp 576 0 11 41.14
Scheme guile 852 0 4 40.57
Java java 1001 0 0 40.04
Nice nice 758 5 0 37.90
Ruby ruby 791 0 4 37.67
Simula cim 187 20 0 37.40
Haskell ghc 560 4 6 37.33
PHP php 521 9 2 37.21
JavaScript jscript 459 10 2 35.31
Rexx rexx 494 7 4 35.29
VBScript vbscript 437 5 7 33.62
Erlang erlang 413 3 8 29.50
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