🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6114

caml-light (ocaml, olabl) runs twice as fast as gcc program!

#6114
From: Fritz Heinrichmeyer
Date: Tue, 03 Dec 1996 00:00
28 lines
1866 bytes

till now i thought that for speed tests under linux "gcc -O6" is the
reference. I recently compared some language implementation suitable for
www-programming (the old fibonacci function with argument 30).

Surprise surprise!!!

Olabl bytecode (caml + objects + labeled and optional arguments) was
only 30% slower than JAVA JIT COMPILED code and only 5 times slower than
optimized gcc code.

Olabl native (i386) compiled code was TWICE AS FAST as "gcc -O6"
compiled code.

Ram consumtion is only constant (200k) larger than with the gcc program.
Olabl seems to have a larger minimal runtime (not only the already
loaded libc.so.xx) environment.

Maybe this observation cannot be generalized but it fits to the very
good impression i have from almost all the INRIA stuff ..

Regards
-- 
Fritz Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de>
FernUniversitaet Hagen, LG Elektronische Schaltungen, 58084 Hagen (Germany)
tel:+49 2331/987-1166 fax:987-355 WWW://ES-sun1.fernuni-hagen.de/~jfh
PGP fingerprint (mail for key): 160BDF84 3F2F63C0  5CA20D31 3E42D116
Technical Details
Message-ID: <582ah7$1hi@cantaloupe.srv.cs.cmu.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <57vbsu$lqh@cantaloupe.srv.cs.cmu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,bbd850e7e6651957,start
X-Google-Attributes: gid113d02,public
From: fritz.heinrichmeyer@FernUni-Hagen.de (Fritz Heinrichmeyer)
Subject: caml-light (ocaml, olabl) runs twice as fast as gcc program!
Date: 1996/12/03
Message-ID: <582ah7$1hi@cantaloupe.srv.cs.cmu.edu>
X-Deja-AN: 202206414
distribution: world
sender: jfh@jfh01.fernuni-hagen.de
references: <57vbsu$lqh@cantaloupe.srv.cs.cmu.edu>
source-info: Sender is really news@cantaloupe.srv.cs.cmu.edu
organization: FernUni Hagen
x-gateway: relay7.UU.NET from bug-gcc to gnu.gcc.bug; Tue, 3 Dec 1996 20:21:10 EST
reply-to: fritz.heinrichmeyer@FernUni-Hagen.de (Fritz Heinrichmeyer)
newsgroups: gnu.gcc.bug
originator: rowan@VIXEN.FOX.CS.CMU.EDU