delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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" <ppitot AT oktal DOT fr> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Shells and makefiles are still very slow with cygwin |
Date: | Sat, 6 Jul 2002 12:57:47 +0200 |
MIME-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |