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()
"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