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 82C79BC88 for ; Mon, 7 Feb 2005 20:37:08 +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 j17Jb8IM005723 for ; Mon, 7 Feb 2005 20:37:08 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA20190 for ; Mon, 7 Feb 2005 20:37:07 +0100 (MET) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j17Jb7pg030808 for ; Mon, 7 Feb 2005 20:37:07 +0100 Received: from poincare (mail@poincare.swapping.umh.ac.be [10.102.100.13]) by hedwig1.umh.ac.be (8.13.1/8.13.1) with ESMTP id j17JeVN51183930; Mon, 7 Feb 2005 20:40:35 +0100 Received: from poincare ([127.0.0.1] helo=localhost ident=trch) by poincare with esmtp (Exim 3.36 #1 (Debian)) id 1CyEgu-0006uV-00; Mon, 07 Feb 2005 20:37:00 +0100 Date: Mon, 07 Feb 2005 20:36:59 +0100 (CET) Message-Id: <20050207.203659.94743120.Christophe.Troestler@umh.ac.be> To: farr@mit.edu Cc: caml-list@inria.fr Subject: Re: [Caml-list] [Benchmark] NBody From: Christophe TROESTLER In-Reply-To: <68b7b7bf7d559600cf85b24d60f06cb2@mit.edu> References: <20050207.195724.87945401.Christophe.Troestler@umh.ac.be> <68b7b7bf7d559600cf85b24d60f06cb2@mit.edu> Organization: Universite de Mons-Hainaut (http://math.umh.ac.be/an/) X-Spook: Vince Foster eavesdropping Manfurov Ceridian kilo class Montenegro BCCI covert video Saddam Hussein fraud X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Operating-System: GNU/Linux (http://www.linux.org/) X-Mailer-URL: http://www.mew.org/ X-Mailer: Mew version 4.2rc1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at concorde with ID 4207C364.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4207C363.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 christophe:01 troestler:01 christophe:01 troestler:01 umh:01 wrote:01 caml:02 benchmark:02 gprof:03 profiling:05 chris:05 i'd:05 startup:06 looks:07 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: On Mon, 7 Feb 2005, "Will M. Farr" wrote: > > You might try profiling (using gprof); maybe it will give you an > idea where your time is being spent. I did that but I could not see anything: the important spot reads: ----------------------------------------------- 8.05 0.00 1000000/1000000 camlNbody__entry [5] [6] 99.7 8.05 0.00 1000000 camlNbody__code_begin [6] ----------------------------------------------- Did I miss something??? > it looks like the java code is faster, but it clearly has a large > startup time. I thought that. Still, I'd like to know whether there is a way to make Caml code that fast or if not why. Thanks for youe reply, ChriS