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 X-Apparently-From: Message-ID: <3B13B28C.D60BC23D@yahoo.com> Date: Tue, 29 May 2001 10:30:36 -0400 From: Earnie Boyd Reply-To: Cygwin Users X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Kelvin Lee CC: cygwin AT cygwin DOT com Subject: Re: 1.3.[12]: readdir() performance problem introduced References: <5D95D7082AD4D311944500062950E414532D96 AT sydmgw DOT syd DOT aspect DOT com DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kelvin Lee wrote: > > 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. > First before compiling try out the most recent snapshot. AFA compiling the Cygwin source is concerned, check the FAQ. -- Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple