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 F19B4BC88 for ; Fri, 11 Feb 2005 14:33:53 +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 j1BDXrRB028227 for ; Fri, 11 Feb 2005 14:33:53 +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 OAA02757 for ; Fri, 11 Feb 2005 14:33:53 +0100 (MET) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1BDXood017831 for ; Fri, 11 Feb 2005 14:33:52 +0100 Received: from [192.168.1.200] (ppp212-197.lns2.syd3.internode.on.net [203.122.212.197]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j1BDXZ4i053795; Sat, 12 Feb 2005 00:03:49 +1030 (CST) Subject: Re: [Caml-list] Memory allocation nano-benchmark. From: skaller Reply-To: skaller@users.sourceforge.net To: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Gava Cc: Christian Szegedy , caml-list In-Reply-To: <1108127068.16698.320.camel@pelican.wigram> References: <420B7A7E.90504@or.uni-bonn.de> <005101c50f7f$6db0e560$d54380d9@mshome.net> <1108048745.16698.101.camel@pelican.wigram> <014801c50f8e$a08e9a40$d54380d9@mshome.net> <015f01c50f99$e8a57e60$d54380d9@mshome.net> <420BBC7D.5070103@t-online.de> <002401c5101b$4130b640$a2f40b50@mshome.net> <1108127068.16698.320.camel@pelican.wigram> Content-Type: text/plain Message-Id: <1108128814.16698.323.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 12 Feb 2005 00:33:35 +1100 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 420CB441.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 420CB43E.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 sourceforge:01 wrote:01 bigarray:01 bigarray:01 glebe:01 061:98 nsw:01 snail:02 2037:02 programming:03 sys:03 layout:05 john:08 felix:08 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 Sat, 2005-02-12 at 00:04, skaller wrote: > > Using bigarray (c_layout): > > real 0m27.948s > user 0m0.770s > sys 0m0.500s > > .. 4 times faster. I should add I checked the allocation time at around 0.07 for the bigarray. -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net