[cfe-commits] clang Cygwin slow startup

James Boulton james.boulton at eiconic.com
Mon May 23 08:54:11 PDT 2011


Seems to be the same as "clang --version".

If you run it, then run it again it gets quicker. So to me that does suggest caching of DLL's or something like that.

Just compiled a version with .NET and running it is instant, but isnt working as I want just yet. Might be the answer, though.

The Cygwin version definitely is very slow to start up.

  ----- Original Message ----- 
  From: Chris Lattner 
  To: James Boulton 
  Cc: cfe-commits at cs.uiuc.edu 
  Sent: Monday, May 23, 2011 4:37 PM
  Subject: Re: [cfe-commits] clang Cygwin slow startup


  How fast is clang -cc1 -version?


  -Chris

  On May 23, 2011, at 8:17 AM, James Boulton <james.boulton at eiconic.com> wrote:


    No, it's nothing that silly. It's configured with --enable-optimised and says it's building as release+asserts.


      ----- Original Message ----- 
      From: Douglas Gregor 
      To: James Boulton 
      Cc: cfe-commits at cs.uiuc.edu 
      Sent: Monday, May 23, 2011 4:04 PM
      Subject: Re: [cfe-commits] clang Cygwin slow startup




      On May 23, 2011, at 7:43 AM, James Boulton wrote:


        Hi, I've just build the llvm setup on cygwin and clang takes a long time to start up.

        For instance "clang --version" takes around 4-5 seconds before displaying the version info. This is the same for any command issued to clang and it appears to be just how long it is taking to load up the exe + dll's.

        Is there anything I can do to speed this up as it's currently unusably slow, but otherwise working pefectly!


      Try building in Release mode.


      - Doug
    _______________________________________________
    cfe-commits mailing list
    cfe-commits at cs.uiuc.edu
    http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110523/a1291524/attachment.html>


More information about the cfe-commits mailing list