From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 6A4DC7EE4B for ; Mon, 30 Sep 2013 13:13:47 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of alain@frisch.fr) identity=pra; client-ip=212.27.42.6; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="alain@frisch.fr"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of alain@frisch.fr) identity=mailfrom; client-ip=212.27.42.6; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="alain@frisch.fr"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp6-g21.free.fr) identity=helo; client-ip=212.27.42.6; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="alain@frisch.fr"; x-sender="postmaster@smtp6-g21.free.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmUBAJNcSVLUGyoGnGdsb2JhbABawhOCe4EpFg4BAQEBAQYNCQkUKIIlAQEFOEABEAsYCRYPCQMCAQIBRQYNAQcBAYgGvRCPUQeEIgOXf4YzjSyBQA X-IPAS-Result: AmUBAJNcSVLUGyoGnGdsb2JhbABawhOCe4EpFg4BAQEBAQYNCQkUKIIlAQEFOEABEAsYCRYPCQMCAQIBRQYNAQcBAYgGvRCPUQeEIgOXf4YzjSyBQA X-IronPort-AV: E=Sophos;i="4.90,1007,1371074400"; d="scan'208";a="28541705" Received: from smtp6-g21.free.fr ([212.27.42.6]) by mail3-smtp-sop.national.inria.fr with ESMTP; 30 Sep 2013 13:13:45 +0200 Received: from [192.168.0.10] (unknown [78.192.0.38]) by smtp6-g21.free.fr (Postfix) with ESMTP id 760858228D; Mon, 30 Sep 2013 13:13:40 +0200 (CEST) Message-ID: <52495CE3.6050709@frisch.fr> Date: Mon, 30 Sep 2013 13:13:39 +0200 From: Alain Frisch User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Anil Madhavapeddy CC: Fabrice Le Fessant , Francois Berenger , Ocaml Mailing List References: <5229DEF9.7040706@inria.fr> <5229F284.5050806@inria.fr> <5249310F.7090108@riken.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] from oasis to obuild (original subject was Re: Accelerating compilation) On 9/30/2013 11:13 AM, Anil Madhavapeddy wrote: > OASIS runs every single build command through ocamlfind. Moving that > to the configure phase gives a big speedup for almost any project > with a non-trivial number of source files. Has someone investigated the overhead induced by ocamlfind? Is it about the extra process, parsing the META files, or something else? Since both ocamlfind and the compiler come in the form of a library (findlib / compilerlib), it should not be too difficult to merge them into a single executable. If parsing the META files takes time, a cache mechanism in ocamlfind/findlib could help (maybe). But anyway, doing the library resolution at configure time sounds like a good idea! -- Alain