This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ls so slow
- To: "Richard Faber" <rfaber at moneynet dot com>, gnu-win32 at cygnus dot com
- Subject: Re: ls so slow
- From: Larry Hall <lhall at rfk dot com>
- Date: Fri, 11 Dec 1998 18:13:45 -0500
At 10:34 AM 12/11/98 -0500, Richard Faber wrote:
>
> "B20: ls so slow in large directories (NT 4.0)"
>
>I go to the bin directory of the Cygnus user installation...
>do ls ... it is pretty fast.
>Then I do ls -CF.... it is so slow.
>
>Other ls's I use can do ls -CF quite fast....
>
>cd /d/cygnus/cygwin-b20/H-i586-cygwin32/bin$ time ls -CF
>real 0m6.309s
>user 0m0.070s
>sys 0m6.169s
>
>
>Any info appreciated....
>
If you knew what you were asking it to do by specifying the "-F" flag
and what it has to do to comply with that request, you wouldn't think
it was so slow!;-) In essence, any executable/symlink has to be stat'd,
which in Win32 world means each one is opened first. What "other" ls's
has you used?
Larry Hall lhall@rfk.com
RFK Partners, Inc. (781) 239-1053
8 Grove Street (781) 239-1655 - FAX
Wellesley, MA 02482-7797 http://www.rfk.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".