in reply to Re^4: The -d switch isn't working as I expected it to (test to see if its a directory)
in thread The -d switch isn't working as I expected it to (test to see if its a directory)

It's a dual 2Ghz G5, 1GB ram, 10.3.7, MacOS Extended (journaled). I'm only going 3 levels deep so perhaps that's the difference. I don't really think performance is usually a problem here unless you are processing huge numbers of files. Also, if you are actually doing anything with those files, the IO time for that will dominate.

FWIW, I've noticed that filesystem tests vary greatly depending on architecture, ram, disk speed, moon phase, etc.

I can see MacOS having a really good cache where chdir is no faster, but I don't understand why it would be slower...

Not sure what you mean -- chdir was a little faster on my test.

  • Comment on Re^5: The -d switch isn't working as I expected it to (test to see if its a directory)