From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 9F6A1BBAF; Wed, 11 Mar 2009 08:40:25 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnUCAHMHt0nCpx6wi2dsb2JhbACVLgEBAQoLChi7UoQNBmE X-IronPort-AV: E=Sophos;i="4.38,340,1233529200"; d="scan'208";a="24152744" Received: from unknown (HELO min.univ-orleans.fr) ([194.167.30.176]) by mail3-smtp-sop.national.inria.fr with ESMTP; 11 Mar 2009 08:40:25 +0100 Received: from smtps.univ-orleans.fr (localhost [127.0.0.1]) by min.univ-orleans.fr (Postfix) with ESMTP id 5E3CE12B56B; Wed, 11 Mar 2009 08:40:23 +0100 (CET) Received: from [172.16.249.249] (ucopia.bourges.univ-orleans.fr [193.49.93.20]) by smtps.univ-orleans.fr (Postfix) with ESMTP id 5A1BF36E60; Wed, 11 Mar 2009 08:40:23 +0100 (CET) Subject: Re: [Caml-list] OCamlBuild + OCamlDoc is slooooow From: David Rajchenbach-Teller To: Maxence Guesdon Cc: OCaml In-Reply-To: <20090311073040.4fa2461d@alcazar.inria.fr> References: <1236723798.6458.5.camel@Blefuscu> <20090311073040.4fa2461d@alcazar.inria.fr> Content-Type: text/plain; charset=UTF-8 Date: Wed, 11 Mar 2009 08:40:33 +0100 Message-Id: <1236757233.7224.2.camel@Blefuscu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; ocamldoc:01 ens-lyon:01 ocamldoc:01 0100,:01 maxence:01 guesdon:01 maxence:01 univ-orleans:01 lifo:01 2009:98 2009:98 wrote:01 caml-list:01 output:02 native:03 I'm using ocamldoc, as I need a custom generator. I've considered using ocamldoc.opt to generate the n first dumps and I may do this, if I find out how to get OCamlBuild to do this. However, the last load already takes something like 8 minutes, so that would not solve all issues. Thanks, David On Wed, 2009-03-11 at 07:30 +0100, Maxence Guesdon wrote: > On Tue, 10 Mar 2009 23:23:18 +0100 > Hello David, > > Do you use ocamldoc.opt or ocamldoc ? It should be faster with the native > version. Of course, if you use a custom generators, you will have to wait > until I add the -g option to the native version of ocamldoc (which will be > possible since native code loading is now available). Another way could be > to use ocamldoc.opt until the last dump, then use ocamldoc only for output. > I don't know how to do this with ocamlbuild. > > Friendly, > > Maxence > -- David Teller-Rajchenbach Security of Distributed Systems http://www.univ-orleans.fr/lifo/Members/David.Teller « Ce matin Un crétin A tué un chercheur. » (air connu) Latest News of French Research: System being liquidated. Researchers angry.