This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 1.3.[12]: readdir() performance problem introduced
- To: Kelvin Lee <Kelvin dot Lee at lansa dot com dot au>
- Subject: Re: 1.3.[12]: readdir() performance problem introduced
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Tue, 29 May 2001 10:30:36 -0400
- CC: cygwin at cygwin dot com
- References: <5D95D7082AD4D311944500062950E414532D96@sydmgw.syd.aspect.com.au>
- Reply-To: Cygwin Users <cygwin at cygwin dot com>
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