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 Message-ID: <3A89A6C2.5A01AD7D@lineo.com> Date: Tue, 13 Feb 2001 13:27:30 -0800 From: jfaith AT lineo DOT com X-Accept-Language: en,ja MIME-Version: 1.0 To: "Larry Hall (RFK Partners, Inc)" , cygwin AT cygwin DOT com Subject: Re: Optimizing away "ReadFile" calls when Make calls stat() References: <20010213195439 DOT 17755 DOT qmail AT lizard DOT curl DOT com> <20010213183634 DOT 1435 DOT qmail AT lizard DOT curl DOT com> <3A89867C DOT 395FC4E3 AT yahoo DOT com> <20010213191450 DOT 15506 DOT qmail AT lizard DOT curl DOT com> <3A898FA0 DOT 6895B5CA AT yahoo DOT com> <20010213195439 DOT 17755 DOT qmail AT lizard DOT curl DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20010213154412 DOT 04990ba0 AT pop DOT ma DOT ultranet DOT com> X-MIMETrack: Serialize by Router on lnwestlake/Lineo(Release 5.0.5 |September 22, 2000) at 02/13/2001 03:34:24 PM, Serialize complete at 02/13/2001 03:34:24 PM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii "Larry Hall (RFK Partners, Inc)" wrote: > At 03:25 PM 2/13/2001, DJ Delorie wrote: > > > Win32 is slower, but not THAT much slower. > > > >Actually, it is. I did some benchmarks using the native Win32 API > >directly, and Linux is way faster. > > Any chance that you have a pointer to the results of such a test? Just > curious. Althought not related to the performance of stat() ... to get a feel for where time was being spent during a make on Cygwin, I did an experiment a while ago to compare process launching on Linux versus Win32. The test script just did "make --version > /dev/null" one thousand times. This is how long it took, all done on the same hardware: Linux: 3 sec. VMWare running Linux: 9 sec. DOS (batch file) 18 sec. Cygwin: 30 sec. One thing which can help build performace is to pass several C files at once to gcc, if it's possible to work it into your build procedure. -- John Faith Lineo -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple