This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] improve performance of stat() operations (e.g. ls -lR)
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 26 May 2002 18:40:37 -0400
- Subject: Re: [PATCH] improve performance of stat() operations (e.g. ls -lR)
- References: <FE045D4D9F7AED4CBFF1B3B813C85337676293@mail.sandvine.com>
- Reply-to: cygwin-patches at cygwin dot com
On Sun, May 26, 2002 at 05:50:13PM -0400, Don Bowman wrote:
>
>The attached patch adds a new CYGWIN environment variable, statquery. This
>causes stat() to use set_query_open(TRUE) all the time, which
>dramatically improves the performance on e.g. ls -lR operations or
>configure.
>For example, an ls -lR of the 'ntop' distribution goes from 34seconds
>to 2seconds on my computer on a local filesystem. The actual change
>is extremely trivial.
You should get the same effect by mounting directories or files with
either the -E or -X option. And, the control is more pinpoint than an
environment variable.
cgf