title: Why is `find -depth 1` so slow to list directories?
body: <p>I am listing directories in the current directory. Here are the two commands I am comparing:</p>
  
  <pre><code>ls -F | grep /
  
  find . -type d -depth 1
  </code></pre>
  
  <p>The <code>ls</code> command is quasi instantaneous while the <code>find</code> command takes about 10 seconds. It feels like the <code>find</code> command is going through the content of each subdirectory while it does not seem to be required by the command.</p>
  
  <p>What is <code>find . -type d -depth 1</code> doing to be so slow?</p>