researchgate / node-file-processor

Node.js utility for mass-processing files in parallel.
MIT License
10 stars 3 forks source link

Move to `fast-glob` and expose options for it. #48

Closed slightlyoff closed 3 years ago

slightlyoff commented 3 years ago

fast-glob is notably faster than glob-stream and in profiling of a local project, this became material.

This PR also exposes an object for options to pass through to fast-glob which allows finer grained control over options eventually passed down to readdir, which can also improve performance.

Tests continue to pass.

danez commented 3 years ago

Thank you very much. I really like this change. We mostly use fast-glob in our projects, so this falls perfectly in line. :) One less dependency to care about.

researchgate-bot commented 3 years ago

:tada: This PR is included in version 3.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: