Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] OCaml speed
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-17 (05:32)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] OCaml speed
Rolf Wester schrieb am Montag, den 15. Oktober 2001:
> ocaml. The sources I used are attached below.  Unfortunately I could
> not confirm the given cpu times which are 0.11 sec for gcc and 0.13
> for ocamlopt. My results on a Compaq Alpha True64 are 0.05 for cxx,
> 0.1 for g++ and 0.29 for ocamlopt. Does anybody have an idea what
> could be the reason for this inconsistency? Did I do anything wrong?

The Alpha/True64 is a completely different beast than an Intel/Linux
platform. The same holds for a comparison of cxx and g++. This may well
explain quite a lot.

> ocamlopt -o aa_ml unix.cmxa

Try this instead:

  ocamlopt -unsafe -noassert -o aa_ml unix.cmxa

This may squeeze out some cycles...

Markus Mottl

Markus Mottl                                   
Austrian Research Institute
for Artificial Intelligence        
Bug reports:  FAQ:
To unsubscribe, mail  Archives: