Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Issac Trotts <ijtrotts@u...>
Subject: Re: [Caml-list] DFT in OCaml vs. C
Markus Mottl wrote:

>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:
>
>C:
>real    0m24.920s
>user    0m24.900s
>sys     0m0.020s
>
>OCaml:
>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).
>
Probably, but the C version doesn't seem as sensitive to these things.

Issac



-------------------
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