Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glob is too hungry / very slow #43

Open
OliverJAsh opened this issue Jun 23, 2021 · 1 comment
Open

Glob is too hungry / very slow #43

OliverJAsh opened this issue Jun 23, 2021 · 1 comment

Comments

@OliverJAsh
Copy link
Contributor

When I run my Node process which uses mockserver-node, it is very slow to start. After some debugging I discovered this is because there are a number of synchronous glob calls in the form of glob('**/abc). The ** part was very expensive for us because it was checking every folder in node_modules which is a huge folder.

To fix this I would suggest changing ** to node_modules/mockserver-node.

@OliverJAsh
Copy link
Contributor Author

Thanks, unfortunately this is still an issue. We need to update these as well:

@jamesdbloom jamesdbloom reopened this Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants