Shells and makefiles are still very slow with cygwin

Paul Pitot ppitot@oktal.fr
Sat Jul 6 07:55:00 GMT 2002


Shells and makefiles are still very slow with cygwin

I use cygwin for about 2 years and do not see any real response to this
simple question :
Why a simple shell script like this is so slow ?

test.sh :
#!/bin/bash
export PATH=/usr/bin:/bin
cpt=100
while (test $cpt -gt 0); do
cpt=`echo cpt |awk -v i=$cpt '{i-=1; printf("%d", i);}'`
done
echo

give this result :
$ time ./test.sh

real    0m8.604s
user    0m6.960s
sys     0m5.160s

On a duron 850 under win XP
where it should took less than 1 second

I curently see a speed up more than 20 between the same makefile under linux
and under cygwin
I just take the last cygwin release 1.3.12 and it is the same problem





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list