Ask questionsfs.Dir.read() is very slow
I maintain the popular
readdirp module. Decided to try
fs.opendir from node 12.12. The results are suboptimal: it's 3x slower to walk file trees when compared to
if (!opendir)I get 3x speedup, which means opendir is 3x slower than readdir.
Refs: #583, #29349
Answer questions Fishrock123
@piyukore06 Please let us know if you need any help making that PR. It'l require a bit of C++, but only a little bit.