This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

slow find . -type d


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]