This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Time taken for ls -la --color=yes
- To: Timothy Reaves <treaves@y11a165.neo.rr.com>, cygwin@sourceware.cygnus.com
- Subject: Re: Time taken for ls -la --color=yes
- From: Earnie Boyd <earnie_boyd@yahoo.com>
- Date: Mon, 8 Mar 1999 06:15:07 -0800 (PST)
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Reply-To: earnie_boyd@yahoo.com
- Sender: cygwin-owner@sourceware.cygnus.com
---Timothy Reaves <treaves@y11a165.neo.rr.com> wrote:
>
> >> When I execute this on my machine, a dual PII 266 with 192
meg
> >> memory & a Seagate Cheeta 10,000rpm hard drive, with three other
> >> applications running (Netscape, mail, a data conversion app), it
> >> takes a good 1.5 to 2 seconds to display a directory with fewer
than
> >> 60 entries.
> >>
> >> Is this normal?
> >
> >Just the first time, or every time?
>
> For a directory with 83 entries, the first display took 2.5
seconds. After that the time was 'normal'. Dir under a DOS windows
has no perceptable delay.
If you add the color or F switches then the CYGWIN1.DLL has to
determine the type of file. It will be opening every regular file
listed and reading a line from the file in order to determine the type
of the file. You can imagine the overhead involved in this.
==
- \\||//
-------------------o0O0--Earnie--0O0o-------------------
-- earnie_boyd@yahoo.com --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com