This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] improve performance of stat() operations (e.g. ls -lR)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]