delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/27/21:10:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <Kelvin DOT Lee AT lansa DOT com DOT au>
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)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019