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

Don Bowman don@sandvine.com
Mon May 27 01:46: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: 1930 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20020527/d24f2e51/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list