bash performance not so gooood
Sergey Okhapkin
sos@prospect.com.ru
Wed Sep 17 22:04:00 GMT 1997
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
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list