Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020323231913.022f5268@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sat, 23 Mar 2002 23:22:16 -0500 To: Pavol Juhas , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: slow find . -type d In-Reply-To: <20020323230833.A8848@seas.upenn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:08 PM 3/23/2002, Pavol Juhas wrote: >Hello, > >I am using find 4.1 under Cygwin 1.3.10 / WinXP. I have observed that > find . -type d >is about 3 times slower than find . and about 100 times slower than > cmd.exe /C dir /B/S/AD > >$ time find . -type d > /dev/null > 0.39s user 1.12s system 93% cpu 1.617 total >$ time find . > /dev/null > 0.20s user 0.47s system 105% cpu 0.632 total >$ time CMD.EXE /c dir /ad/b/s > /dev/null > 0.01s user 0.01s system 48% cpu 0.062 total > >Any ideas what is going on? Not specifically, no. But there hasn't been allot of general performance analysis done on Cygwin. If you can localize the area of Cygwin which is causing much of the delay, I'm sure the list will be interested in the results and even more so in a patch! ;-) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/