Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 13 Feb 2001 17:28:54 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Optimizing away "ReadFile" calls when Make calls stat() Message-ID: <20010213172854.A14080@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2CB1272B2212D211974D00805FCB57420AFAFCE1 AT mxmail DOT multex DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <2CB1272B2212D211974D00805FCB57420AFAFCE1@mxmail.multex.com>; from roman.puttkammer@multex.com on Tue, Feb 13, 2001 at 05:13:49PM -0500 On Tue, Feb 13, 2001 at 05:13:49PM -0500, Puttkammer, Roman wrote: > >> -----Original Message----- >> From: jfaith AT lineo DOT com [mailto:jfaith AT lineo DOT 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