Just for the heck of it, I ran a find command to look for the same file under the same relative path, in (Cygwin over) Windows and in Linux. The performance is ~50 times difference. Guess who is faster :) . Add more to the twist, my Windows machine is a Core 2 Duo @ 2.13 Gig (each, of course), with 2.5GB ram; Linux is running on a Pentium-4 @ 2.8 Gig, single core, 2GB ram.
Cygwin over Windows:
ztang@LV017554 /cygdrive/c/same_folder_tree_node
$ time find . -name b.bat
./b.bat
real 0m9.290s
user 0m1.483s
sys 0m7.796s
Linux
ztang@ubuntu2:~/projects/same_folder_tree_node$ time find . -name b.bat
./b.bat
real 0m0.196s
user 0m0.056s
sys 0m0.136s
Saturday, August 30, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment