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] 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                                   
Austrian Research Institute
for Artificial Intelligence        

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: