delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/23/23:08:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 23 Mar 2002 23:08:33 -0500
From: Pavol Juhas <juhas AT seas DOT upenn DOT edu>
To: cygwin AT cygwin DOT com
Subject: slow find . -type d
Message-ID: <20020323230833.A8848@seas.upenn.edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5.1i

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?
Thanks,

	Pavol

--
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/

- Raw text -


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