title: Performance difference between DirectoryStream and File.list() in travesing folder
body: <p>Is there any performance difference between DirectoryStream and File.list()</p>
  
  <p>I have tried to strace both java program in Linux platform, it makes use of getdents64 system call with same parameters. It looks to me both have same performance but different programming paradigm</p>