Skip to content

fs: add isFile and isDirectory methods

Attempted to add a isFile, isDirectory apis as per the referenced issue, basically this would avoid the creation of the stats object so I think this should provide somewhat of a speed up, I believe we could speedup from the cpp side too but not much luck in finding what to improve there, any help would be appreciated!

Refs: https://github.com/nodejs/performance/issues/46

Merge request reports

Loading