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

Don Bowman don@sandvine.com
Sun May 26 14:50:00 GMT 2002


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: statquery.diff
Type: application/octet-stream
Size: 1929 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020526/d24f2e51/attachment.obj>


More information about the Cygwin-patches mailing list