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 MAA02438; Thu, 27 Mar 2003 12:45:01 +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 MAA02110 for ; Thu, 27 Mar 2003 12:44:59 +0100 (MET) Received: from lachesis.inria.fr (lachesis.inria.fr [128.93.52.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h2RBin503679; Thu, 27 Mar 2003 12:44:50 +0100 (MET) Received: (from lefessan@localhost) by lachesis.inria.fr (8.12.5/8.12.5/Submit) id h2RAx0KF027405; Thu, 27 Mar 2003 11:59:00 +0100 From: Fabrice Le Fessant MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16002.55666.945143.140530@lachesis.inria.fr> Date: Thu, 27 Mar 2003 11:58:58 +0100 To: Issac Trotts Cc: OCaml List Subject: Re: [Caml-list] DFT in OCaml vs. C References: <3E82A960.2070707@ucdavis.edu> X-Mailer: VM 7.07 under Emacs 21.2.1 Reply-To: fabrice@lefessant.net X-Spam: no; 0.00; caml-list:01 fourier:01 redwood:99 issac:01 ocaml:01 tar:01 benchmark:02 ucdavis:02 transform:02 matrices:03 fabrice:04 numerical:05 fessant:06 i'd:06 fft:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Here's a numerical mini-benchmark comparing C to OCaml > on a simple implementation of the Discrete Fourier Transform: > > http://redwood.ucdavis.edu/~issac/dft_compare.tar.gz > > The results on my 1 GHZ Pentium III Linux box: > I'd be interested if anyone on this list knows of a way > to make it perform as well as the C version (without using the FFT.) If you really want to benchmark the numerical code, then, write a program where there is only numerical code. Given the size of the matrices you use (8), one can wonder if the program spends more time to compute the FFT or to test and print the results. - Fabrice ------------------- 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