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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 0D2A77ED7A for ; Sun, 26 Aug 2012 16:20:29 +0200 (CEST) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of bobzhang1988@gmail.com) identity=pra; client-ip=209.85.216.47; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="bobzhang1988@gmail.com"; x-sender="bobzhang1988@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of bobzhang1988@gmail.com designates 209.85.216.47 as permitted sender) identity=mailfrom; client-ip=209.85.216.47; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="bobzhang1988@gmail.com"; x-sender="bobzhang1988@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-qa0-f47.google.com) identity=helo; client-ip=209.85.216.47; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="bobzhang1988@gmail.com"; x-sender="postmaster@mail-qa0-f47.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoJAH0vOlDRVdgvk2dsb2JhbABFhTyIQKtrAQMBA3MIIgEBAQEJCRQUBCOCOQIkCAEbHAIDEhAWFhgDAgECARERAQUBIg0IAQEeh1sBAwybAIJhCQOMIoJzhCoKGScNV4hxAQUMjEaFRwOVVY43PoQf X-IronPort-AV: E=Sophos;i="4.80,315,1344204000"; d="scan'208";a="170847453" Received: from mail-qa0-f47.google.com ([209.85.216.47]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 26 Aug 2012 16:20:28 +0200 Received: by qadc11 with SMTP id c11so1665685qad.6 for ; Sun, 26 Aug 2012 07:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=l1XfUVUAUmEkxgPx+G0YLRzFrZyyx7SwsJs5F2TG+BY=; b=FRKG9kk/QSc/CZfy5W6S+s/AcmU1f8tQ7fUoXWJ2CWmyYO9g+6Lxdjb2rNdINVs06m 8Ue4EafYdje+/4KFTDmQD7bAXOThwAvGPMvT68d6aoaGWJ5S3lmkzkKLBMYArST+5acs 0c1MPJEZ+enmbvvM++P7im/FzCnd7zxN0/l71QMRoey+LFviKlNA68UQsh/dyeop1FKL XGtBNHKSiJQdi4maXQ+ESz6kt33+11lF+1fDvjmm14DIZy+f86vbHwupiULcnhWC8VjJ Aaa5gDaXxcaOrGXXgyGuGKYb6PDQMB2x9W2VCrGXnLQjolkpyThS5IuiX5/YzHyUla1K 9Xqw== Received: by 10.224.199.201 with SMTP id et9mr18794496qab.59.1345990827119; Sun, 26 Aug 2012 07:20:27 -0700 (PDT) Received: from Hongbos-MacBook-Air.local ([66.250.143.158]) by mx.google.com with ESMTPS id gx4sm4327780qab.3.2012.08.26.07.20.25 (version=SSLv3 cipher=OTHER); Sun, 26 Aug 2012 07:20:26 -0700 (PDT) Message-ID: <503A30A7.3030707@gmail.com> Date: Sun, 26 Aug 2012 10:20:23 -0400 From: Hongbo Zhang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Caml List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Caml-list] How to profile compiler's performance Hi List, I have a file which is only 410 lines, the compilation process takes nearly 1 minutes. Before my refactoring, it's compiled very fast. Is there a way to know which part the compiler spend most time in ? Many Thanks