Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <5D95D7082AD4D311944500062950E414532D96@sydmgw.syd.aspect.com.au> From: Kelvin Lee To: cygwin AT cygwin DOT com Subject: 1.3.[12]: readdir() performance problem introduced Date: Mon, 28 May 2001 11:09:35 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" For 1.3.[12]: Noticed from the behaviour of man. It took long long time before returning "No manual entry for x" for unavailable page x. For 1.1.7, man returned the message almost immediately. Dug into the source code of man and did some profiling, I found that more than 95% of time was spent on the system call readdir(). And that is several hundred times slower than 1.1.7. Will try to produce a patch. But need to figure out how to compile cygwin1.dll first. Regards, Kelvin Lee -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple