The next performance improvements
See original GitHub issueNode.js
- Use
fs.scandir
from https://github.com/nodejs/node/issues/15699. Most likely it will give double performance increase for work with FS (not on all platforms). Right now I can use thescandir-native
package, but this is native module and it requires compilation.
Algorithm
- Reduce search time for «constant» patterns (#60).
Code
- Write your own package for recursive directory reading. The
readdir-enhanced
is poorly maintained (code, architecture).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:6 (3 by maintainers)
Top Results From Across the Web
13 Ways To Improve Your Work Performance - BetterUp
Prioritize self-improvement. We should evolve with the world around us. Work on new skill sets, read books, watch videos, and listen to podcasts ......
Read more >24 Excellent Ways To Improve Work Performance - ProofHub
Discover 24 awesome tips to improve work performance and be more productive and efficient without taking unwanted stress and overwhelming workload.
Read more >Top 30 Ways to Improve Work Performance [2022] - Valamis
Explore the top 3 proven ways to improve your work performance. Including additional 18 ways and 9 actionable tips for HRs.
Read more >17 Easy Ways to Improve Work Performance and Thrive | Pipefy
Continuous work improvement is essential to professional growth. Discover 17 ways you can improve your work performance.
Read more >21 Ways To Improve Work Performance and Continuously Grow
We're sharing 21 ways on how to improve work performance and continuously learn to influence career development. Try these tips out!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Relevant: https://twitter.com/bengl/status/1029196268663259136
Unfortunately, built-in
fs.readdir
is low level solution. I can write my own solution (and I’ll do this as mentioned above), but this will still lead to additional code. We need to be able to understand whether this directory should be read or not (!**/node_modules
), whether these entries should be filtered or not and etc.