[Haskell-cafe] Known Unknowns

Chris Kuklewicz haskell at list.mightyreason.com
Wed Feb 1 11:01:21 EST 2006


Bulat Ziganshin wrote:
> Hello Donald,
> 
> Wednesday, February 01, 2006, 8:00:04 AM, you wrote:
> DBS> Here's a brief introduction. I intend to write up (on the performance page on
> DBS> the wiki) a list of things we've done to improve the shootout entries. N.B
> DBS> we're now the 3rd *fastest* language, behind C and only a little behind D (a C
> DBS> varient) !!
> 
> 3rd fastest or 3rd overall, counting program lines and so on?
> 
> 

That's the unconceivable thing.  It is 3rd fastest.

Looking at just Full CPU Time:

C gcc	 	35.90	3
D Digital Mars 	32.72	3
Haskell GHC 	30.25	0
SML MLton 	28.72	3
OCaml	 	27.92	1
Eiffel Smart 	26.17	6
C++ g++	 	25.73	3
Nice 		24.43	4
Ada 95 GNAT 	23.45	4
Clean 		23.32	7
Java JDK 1.4 -server 	22.69	5
Java JDK -server 	22.39	5
Java JDK -client 	19.19	5
C# Mono 	16.99	2

Only C gcc and D Digital Mars are ahead.

Looking at Just Memory Use, Haskell is 8th

language 	score 	missing
C gcc 		39.00	3
D Digital Mars 	29.21	3
Forth GForth 	28.63	2
Ada 95 GNAT 	27.12	4
Pascal Free 	26.53	7
Eiffel Smart 	24.53	6
C++ g++ 	24.46	3
Haskell GHC 	24.28	0
OCaml 		21.55	1
Fortran G95 	20.21	6
Lua 		19.63	2
SML MLton 	17.80	3

Looking at Just Lines Of Code, Haskell is 1st by a mile:

Haskell GHC 	41.84	0
SML MLton 	34.47	3
Forth GForth 	32.50	2
OCaml 		30.86	1
Tcl 		30.83	3
Python Psyco 	30.49	0
Python 		30.33	1
Lua 		29.17	2
Ruby 		27.69	4
Perl 		25.50	5
Nice 		25.09	4
C# Mono 	24.59	2
D Digital Mars 	22.79	3
C++ g++ 	22.60	3
Java JDK -client 	21.12	5
Java JDK -Xint 		21.12	5
Java JDK 1.4 -server 	21.12	5
Java JDK -server 	21.12	5
C gcc 		20.98	3


Where I had to include lots of languages to get down to C gcc.

Lookat at the 1:1:1 even balance of the above three, Haskell is 1st:

Haskell GHC 	96.37	0
C gcc 		95.87	3
D Digital Mars 	84.72	3
SML MLton 	81.00	3
OCaml 		80.33	1
Forth GForth 	75.17	2
C++ g++ 	72.79	3



More information about the Haskell-Cafe mailing list