English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] DFT in OCaml vs. C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-27 (14:21)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] DFT in OCaml vs. C
On Wed, 26 Mar 2003, Issac Trotts wrote:
> The results on my 1 GHZ Pentium III Linux box:
> C:
> real    0m21.273s
> user    0m21.200s
> sys     0m0.040s
> OCaml:
> real    1m51.602s
> user    1m47.020s
> sys     0m0.260s

Well, another insignificant benchmark... ;-)

My timings on a 2.4 GHZ Pentium IV using GCC 2.95.4 and the latest
CVS-checkout of OCaml:

real    0m24.920s
user    0m24.900s
sys     0m0.020s

real    0m30.397s
user    0m30.390s
sys     0m0.000s

The difference you have observed on your machine is most likely due to
cache effects and possibly also due to compiler differences (GCC version).

Markus Mottl

Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners