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

Add (or document) option to prevent scanning of composer packages #1

Open
OldStarchy opened this issue Apr 21, 2021 · 1 comment
Open

Comments

@OldStarchy
Copy link

I suspect adrhumphreys/vscode-silverstripe#23 is caused by sanchez scanning composer for additional snippets and configuration.

I've had a look through the code and haven't been able to work out why.

The project I'm working in (the one I mentioned here) has 2436 packages (according to yarn list | wc -l) and about 100 composer packages (according to tree -L 2 -d vendor) and it takes about 60 seconds for the silverstripe extension to start.

Deleting the node_modules doesn't change the start up time at all, but deleting the vendor folder reduced it down to 12 seconds consistently.

@lerni
Copy link

lerni commented Mar 21, 2024

Just confirming, that performance implications on start/scan are huge.

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