Menu

#2203 Awful performance of find.exe in comparison to cygwin (7 times slower):

MSYS
unread
nobody
None
Bug
none
Unknown
False
2014-03-25
2014-03-25
Ilya Basin
No

basin@BASIN /c/IBM/WCDE_ENT70
$ time /c/cygwin/bin/find -name nonexist

real 0m2.660s
user 0m0.000s
sys 0m0.015s

basin@BASIN /c/IBM/WCDE_ENT70
$ time find -name nonexist

real 0m20.230s
user 0m4.118s
sys 0m16.036s

Repeated multiple time, Same results.
This is the websphere commerce developer installation directory. Number of files and folders: 171041


Windows 7 Ent sp1
installed packages:
mingw32-base 2013072200
msys-base 2013072300

$ uname -a
MINGW32_NT-6.1 BASIN 1.0.18(0.48/3/2) 2012-11-21 22:34 i686 Msys

Discussion

MongoDB Logo MongoDB