Optimizing away "ReadFile" calls when Make calls stat()

Christopher Faylor cgf@redhat.com
Tue Feb 13 14:28:00 GMT 2001


On Tue, Feb 13, 2001 at 05:13:49PM -0500, Puttkammer, Roman wrote:
>
>> -----Original Message-----
>> From: jfaith@lineo.com [ mailto:jfaith@lineo.com ]
>> ...
>> script just did "make --version > /dev/null" one thousand times
>> ...
>> Linux: 3 sec.
>> VMWare running Linux: 9 sec.
>> DOS (batch file) 18 sec.
>> Cygwin: 30 sec.
>
>AFAIK, fork() tends to be much slower on windows than on most unixes
>such as solaris or linux.

There is no real fork on generic Win32.  Cygwin emulates the fork call and
it is, as a result, very slow.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list