From mboxrd@z Thu Jan 1 00:00:00 1970 From: Earnie Boyd To: Timothy Reaves , cygwin@sourceware.cygnus.com Subject: Re: Time taken for ls -la --color=yes Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <19990308141507.22399.rocketmail@send105.yahoomail.com> X-SW-Source: 1999-03n/msg00227.html Message-ID: <19990331194500.JmtRMbdbV6pqRIlWJQy8uGBny_2aoZ7ruJWfuSBOm2g@z> ---Timothy Reaves 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