Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000501c224db$f7c4c1e0$0200a8c0@duron850> From: "Paul Pitot" To: Subject: Shells and makefiles are still very slow with cygwin Date: Sat, 6 Jul 2002 12:57:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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/