From: noer@cygnus.com (Geoffrey Noer)
Subject: Re: bash performance not so gooood
17 Sep 1997 18:52:40 -0700
Message-ID: <199709180128.SAA26697.cygnus.gnu-win32@cirdan.cygnus.com>
References: <c=US%a=_%p=COMPAQ%l=EXCHOU-CA0201-970917182110Z-7831@exchou-conn02.im.hou.compaq.com>
Content-Type: text
To: DKhosla@Compaq.com (Khosla Deepak)
Cc: gnu-win32@cygnus.com

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?

I'm not surprised.

Very little time has been spent optimizing cygwin.dll or bash.
Bash currently uses fork() instead of spawn() which costs it
quite a bit of time.  The Cygwin32 layer also needs performance
analysis.  Until that happens, it will be slower than it needs to
be.

> Any ideas since at this performance, I would have to buy the UWIN 
> package and I would prefer not doing it....

You could either buy UWIN or improve cygwin.dll and/or bash and send
us patches.  :-)

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
