qddjs / qdd

Download JavaScript Dependencies, really fast
MIT License
52 stars 3 forks source link

[WIP] use scandir-native instead of readdir #4

Closed bengl closed 5 years ago

bengl commented 6 years ago

This chops about 20% off the primed cache case.

This is only a demo of what's possible if fs.scandir was present.

Don't merge this PR until fs.scandir exists in Node, and this has been updated to use it (and generally cleaned up).

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 23


Totals Coverage Status
Change from base Build 21: -0.2%
Covered Lines: 187
Relevant Lines: 221

💛 - Coveralls
bengl commented 5 years ago

Closing this since qdd uses withFileTypes instead, when available.