Subject: RE: bash performance not so gooood
From: [email-masked] (Sergey Okhapkin)

17 Sep 1997 22:22:48 -0700
Message-ID: <01BCC411.2E0292E0.cygnus.gnu-win32@sos>
To: "[email-masked]'" <[email-masked]>,
        "'Khosla, Deepak'"
	 <[email-masked]>

Khosla, Deepak wrote:
> Hi,
> Just some comparison numbers on a large script I ran on Windows NT 4.0
> SP3 using some different packages:
>
> Gnuwin bash	- 2 mins 20 secs
> MKS ksh	- 2 mins 0 secs
> ATT UWIN ksh -  0 mins 20 secs
>
> Any opinions as to why?

CreateProcess() syscall is very slow on Windows NT. All the UWIN stuff is 
optimized to make spawn() calls instead of usual fork/exec pairs (both fork 
and exec makes CreateProcess()). Moreover, path/symlinks handling in very 
complex and ugly in cygwin and should to be rewritten from the scratch...
Yesterday I've made the performance comparison running configure script for 
bash 2.01 with cygwin and OpenNT 2.0+gcc. The result was 4 mins 43 secs on 
OpenNT and 11 mins 20 secs on cygwin :-(

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".