This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Shell script performance
- To: kh at wg dot icl dot co dot uk (Kevin Hughes)
- Subject: Re: Shell script performance
- From: Tim Iverson <iverson at cisco dot com>
- Date: Thu, 11 Dec 1997 16:17:35 -0800 (PST)
- Cc: gnu-win32 at cygnus dot com
If you're running stock b18, I'd guess stat(), not fork/exec (though
fork/exec is really slow, too). Last I checked, stat() actual opens each
file and reads a few bytes to check for symbolic links. IMHO, this is an
incredible waste of time, especially considering that W95/NT already has a
defined symbolic link standard (.lnk files).
I strongly suspect this has changed in b19 and probably Sergey's code, since
I recall that this whole topic was beaten to death and finally resolved
about 6 months ago.
- Tim Iverson
iverson@lionheart-com
+----------------
| From: Kevin Hughes <kh@wg.icl.co.uk>
| To: "Gnuwin95 (E-mail)" <gnu-win32@cygnus.com>
| Subject: Shell script performance
| Date: Thu, 11 Dec 1997 13:51:39 -0000
|
[paraphrased: cygwin32 bash is incredibly slow + some examples]
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".