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: "Puttkammer, Roman" <roman dot puttkammer at multex dot com>
- Date: Tue, 13 Feb 2001 17:13:49 -0500
> -----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. Hence you'll always get a bad performance
on windows when running this kind of tests. I doubt however that you
can generalize these results; it's kind of like comparing pineapples
with carrots.
The reason why this is the case though is probably because unixes are
optimized for server applications using many heavy and light weight
processes/threads. Windows however seems to be optimized for running
10meg VB script functions inside an excel spreadsheet - and it does
actually a pretty good job running those :-)
putt
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple