From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 032527ED7A for ; Mon, 27 Aug 2012 17:34:38 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of markus.weissmann@in.tum.de) identity=pra; client-ip=131.159.0.36; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="markus.weissmann@in.tum.de"; x-sender="markus.weissmann@in.tum.de"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of markus.weissmann@in.tum.de) identity=mailfrom; client-ip=131.159.0.36; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="markus.weissmann@in.tum.de"; x-sender="markus.weissmann@in.tum.de"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-out2.informatik.tu-muenchen.de) identity=helo; client-ip=131.159.0.36; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="markus.weissmann@in.tum.de"; x-sender="postmaster@mail-out2.informatik.tu-muenchen.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYDABWTO1CDnwAkgWdsb2JhbABFhgO0dCIBARYmJ4IgAQEFIwQLAQVRBAcYAgImAgJXBhuIBadOkm+BIYlng3WCCoESA5ZpkWY X-IronPort-AV: E=Sophos;i="4.80,321,1344204000"; d="scan'208";a="153945598" Received: from mail-out2.informatik.tu-muenchen.de ([131.159.0.36]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 27 Aug 2012 17:33:56 +0200 Received: from webmail.in.tum.de (localhost [127.0.0.1]) by vmwebmail1.informatik.tu-muenchen.de (Postfix) with ESMTP id 2FE972403FC for ; Mon, 27 Aug 2012 17:33:35 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 27 Aug 2012 17:33:35 +0200 From: =?UTF-8?Q?Markus_Wei=C3=9Fmann?= To: In-Reply-To: <20120827001451.GA3759@siouxsie> References: <503A30A7.3030707@gmail.com> <20120826191020.GB1908@siouxsie> <20120826205207.GA2356@siouxsie> <20120827001451.GA3759@siouxsie> Message-ID: <801887284f26fc89993364d4098de2c5@in.tum.de> X-Sender: markus.weissmann@in.tum.de User-Agent: Roundcube Webmail/0.8.1 Subject: Re: [Caml-list] How to profile compiler's performance On 2012-08-27 02:14, oliver wrote: > On Sun, Aug 26, 2012 at 10:52:07PM +0200, oliver wrote: >> On Sun, Aug 26, 2012 at 09:59:24PM +0200, Daniel Bünzli wrote: >> [...] >> > Example program, from Mairson, as found in Pierce's Types and >> Programming languages: >> > >> > let f0 = fun x -> (x, x) in >> > let f1 = fun y -> f0 (f0 y) in >> > let f2 = fun y -> f1 (f1 y) in >> > let f3 = fun y -> f2 (f2 y) in >> > let f4 = fun y -> f3 (f3 y) in >> > let f5 = fun y -> f4 (f4 y) in >> > f5 (fun z -> z) >> > ;; >> [...] >> >> Oh. >> >> > >> > (Start compilation and go make the coffee) >> [...] >> (Do you have an estimation if it will take hours, days or weeks to >> get that >> parsed?) on a Xeon E5630 it took ~58 minutes - with probably the whole process fitting in its 12 MB cache.. regards -Markus -- Markus Weißmann, M.Sc. Technische Universität München Institut für Informatik Boltzmannstr. 3 D-85748 Garching Germany http://wwwknoll.in.tum.de/