From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C039EBC88 for ; Mon, 7 Feb 2005 20:56:39 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j17JudRe008310 for ; Mon, 7 Feb 2005 20:56:39 +0100 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 UAA21530 for ; Mon, 7 Feb 2005 20:56:39 +0100 (MET) Received: from smtp002.mail.ukl.yahoo.com (smtp002.mail.ukl.yahoo.com [217.12.11.33]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j17Juc1R008307 for ; Mon, 7 Feb 2005 20:56:38 +0100 Received: from unknown (HELO ?82.121.25.245?) (sejourne?kevin@82.121.25.245 with plain) by smtp002.mail.ukl.yahoo.com with SMTP; 7 Feb 2005 19:56:38 -0000 Message-ID: <4207C9D7.6000804@yahoo.fr> Date: Mon, 07 Feb 2005 21:04:39 +0100 From: sejourne_kevin User-Agent: Mozilla Thunderbird 1.0 (X11/20050116) X-Accept-Language: fr, en MIME-Version: 1.0 To: caml-list Cc: Martin Jambon Subject: Re: [Caml-list] [Benchmark] NBody References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 4207C7F7.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4207C7F6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 christophe:01 troestler:01 wrote:01 ocamlopt:01 -inline:01 -unsafe:01 -inline:01 jambon:02 debian:02 implemented:02 benchmark:02 benchmark:02 shootout:02 ecrit:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Martin Jambon a écrit : > On Mon, 7 Feb 2005, Christophe TROESTLER wrote: > > >>Hi, >> >>For fun I have implemented an nbody simulation following >>http://shootout.alioth.debian.org/benchmark.php?test=nbody&lang=all&sort=cpu >>(code is attached). I've compiled it with >> >> ocamlopt -o nbody.com -inline 3 -unsafe -ccopt -O2 nbody.ml > > > -inline 100 gives better results for me (around -25%) > This should be enough to beat Java :-p if you get the same improvement on > your side. Same for me, but "-ccopt -O2" don't change anything. Kévin.