delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/08/09:14:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990308141507.22399.rocketmail@send105.yahoomail.com>
Date: Mon, 8 Mar 1999 06:15:07 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Time taken for ls -la --color=yes
To: Timothy Reaves <treaves AT y11a165 DOT neo DOT rr DOT com>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

---Timothy Reaves <treaves AT y11a165 DOT neo DOT rr DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019