From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA20780; Thu, 27 Mar 2003 21:41:28 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA20863 for ; Thu, 27 Mar 2003 21:41:26 +0100 (MET) Received: from marble.he.net (marble.he.net [216.218.230.2]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h2RKfP507898 for ; Thu, 27 Mar 2003 21:41:25 +0100 (MET) Received: from ucdavis.edu ([208.227.214.58] (may be forged)) by marble.he.net (8.8.6/8.8.2) with ESMTP id MAA10754 for ; Thu, 27 Mar 2003 12:41:22 -0800 Message-ID: <3E836362.6040802@ucdavis.edu> Date: Thu, 27 Mar 2003 12:47:30 -0800 From: Issac Trotts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 MIME-Version: 1.0 To: OCaml List Subject: Re: [Caml-list] DFT in OCaml vs. C References: <3E82A960.2070707@ucdavis.edu> <20030327142101.GB1931@fichte.ai.univie.ac.at> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; issac:01 trotts:01 ijtrotts:01 caml-list:01 0.040:01 timings:01 gcc:01 2.95.4:01 0.000:01 compiler:01 ocaml:01 benchmark:02 mottl:02 ucdavis:02 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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