This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Shells and makefiles are still very slow with cygwin
- From: "Paul Pitot" <ppitot at oktal dot fr>
- To: <cygwin at cygwin dot com>
- Date: Sat, 6 Jul 2002 12:57:47 +0200
- Subject: Shells and makefiles are still very slow with cygwin
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/