[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: performance issue with cgywin make

From: Christopher Faylor
Subject: Re: performance issue with cgywin make
Date: Thu, 7 Dec 2006 17:37:37 -0500
User-agent: Mutt/1.5.11

On Thu, Dec 07, 2006 at 05:11:37PM -0500, Bill Hoffman wrote:
>Earnie Boyd wrote:
>>Quoting Bill Hoffman <address@hidden>:
>>>So, if I run gmake (the patched cygwin version) and nmake 
>>>(Microsoft's make) on roughly
>>>the same tree.  (CMake can generate files for either.)   nmake is 
>>>able to check the depend information
>>>about twice as fast as gmake can.   I suspect that the problem is in 
>>>the use of stat.  Although windows/
>>>cygwin provide stat, there are significantly faster versions of stat 
>>>available via direct windows system calls.
>>>We had a similar problem in CMake, and use the following code in 
>>>windows to compare times stamps of
>>Cygwin's performance of stat shouldn't be a concern for this list.  
>>Take it back to the cygwin users list please.  Alternatives to stat 
>>using the windows API though may be a different issue for the native 
>>version.  You won't be able to use those alternatives for Cygwin or MSYS.
>OK, for the moment lets forget about cygwin make.  The native build of 
>make should have the same issue,
>as it is calling stat which is provided in the winapi, but is slow.   
>Can someone give me a pointer to where
>I could put different calls into make just so I can try it and see if it 
>helps.  Thanks.

Why should the msvcrt _stat be slow?  I wouldn't assume that to be the case.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]