This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Optimizing away "ReadFile" calls when Make calls stat()
- To: cygwin at cygwin dot com
- Subject: Re: Optimizing away "ReadFile" calls when Make calls stat()
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Tue, 13 Feb 2001 17:28:54 -0500
- References: <2CB1272B2212D211974D00805FCB57420AFAFCE1@mxmail.multex.com>
- Reply-To: cygwin at cygwin dot com
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